Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 181.8 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.4 MB / 229.9 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 96.61 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.544e-06, allocations: 0 / 336.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2707, allocations: 50.4 MB / 386.9 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09124/0.362, allocations: 81.76 MB / 468.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3623, allocations: 83.95 kB / 468.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04632/0.4086, allocations: 20.2 MB / 489 MB, free: 0.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4087, allocations: 12 kB / 489 MB, free: 0.5312 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002744/0.4114, allocations: 0.9736 MB / 489.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4115, allocations: 12.03 kB / 490 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.4129, allocations: 222.9 kB / 490.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4132, allocations: 239.8 kB / 490.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.4133, allocations: 27.94 kB / 490.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4134, allocations: 47.91 kB / 490.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/0.4144, allocations: 0.5702 MB / 491.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4155, allocations: 0.6216 MB / 491.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.4155, allocations: 3.984 kB / 491.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.4156, allocations: 3.984 kB / 491.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.4156, allocations: 20 kB / 491.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.4197, allocations: 3.023 MB / 494.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.421, allocations: 0.6638 MB / 495.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.4214, allocations: 263.7 kB / 495.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4216, allocations: 105.7 kB / 495.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.4216, allocations: 43.44 kB / 495.8 MB, free: 9.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.4216, allocations: 0 / 495.8 MB, free: 9.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001388/0.423, allocations: 0.5791 MB / 496.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.4231, allocations: 115.5 kB / 496.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4233, allocations: 216 kB / 496.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.4233, allocations: 25.7 kB / 496.7 MB, free: 8.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4235, allocations: 283.5 kB / 497 MB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4236, allocations: 240.4 kB / 497.2 MB, free: 7.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4237, allocations: 0 / 497.2 MB, free: 7.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4238, allocations: 346.8 kB / 497.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.4241, allocations: 193.9 kB / 497.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.4245, allocations: 344.1 kB / 498.1 MB, free: 6.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.4252, allocations: 264.4 kB / 498.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.4252, allocations: 4 kB / 498.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00146/0.4267, allocations: 0.7305 MB / 499.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4267, allocations: 4 kB / 499.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4267, allocations: 4 kB / 499.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.4271, allocations: 125.6 kB / 499.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.4278, allocations: 167.8 kB / 499.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.4306, allocations: 3.205 MB / 0.4908 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.4312, allocations: 79.31 kB / 0.4909 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.4313, allocations: 32 kB / 0.4909 GB, free: 2.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.4314, allocations: 116.7 kB / 0.491 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4315, allocations: 39.53 kB / 0.4911 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.433, allocations: 0.6776 MB / 0.4917 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.433, allocations: 8 kB / 0.4917 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.433, allocations: 11.94 kB / 0.4917 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.433, allocations: 3.984 kB / 0.4918 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1453/0.5783, allocations: 1.394 MB / 0.4931 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5783, allocations: 0 / 0.4931 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.5789, allocations: 124.7 kB / 0.4932 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.5793, allocations: 100.5 kB / 0.4933 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.5793, allocations: 9.531 kB / 0.4933 GB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.5812, allocations: 2.912 MB / 0.4962 GB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5812, allocations: 3.469 kB / 0.4962 GB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001513/0.5827, allocations: 1.037 MB / 0.4972 GB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.5828, allocations: 129.3 kB / 0.4973 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.5829, allocations: 0 / 0.4973 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.5834, allocations: 28.83 kB / 0.4973 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5835, allocations: 42.36 kB / 0.4974 GB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.5835, allocations: 30.08 kB / 0.4974 GB, free: 126.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001262/0.5837, allocations: 166.4 kB / 0.4976 GB, free: 126.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007407/0.5844, allocations: 187.2 kB / 0.4978 GB, free: 126.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.5847, allocations: 144.1 kB / 0.4979 GB, free: 126 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.5857, allocations: 0.745 MB / 0.4986 GB, free: 125.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5857, allocations: 3.531 kB / 0.4986 GB, free: 125.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.5862, allocations: 494.9 kB / 0.4991 GB, free: 125.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.5865, allocations: 15.34 kB / 0.4991 GB, free: 125.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5883, allocations: 0.8194 MB / 0.4999 GB, free: 125.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.5887, allocations: 0.9319 MB / 0.5008 GB, free: 124.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5888, allocations: 0 / 0.5008 GB, free: 124.7 MB / 378.7 MB Notification: Performance of Templates: time 0.0113/0.6001, allocations: 7.52 MB / 0.5082 GB, free: 124.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches