Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [: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 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.2 MB / 214.1 MB, free: 5.254 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 105.9 kB / 262.1 MB, free: 5.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.504e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08001/0.08004, allocations: 47.58 MB / 362.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.3085, allocations: 81.9 MB / 444.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3088, allocations: 89.19 kB / 444.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03916/0.3479, allocations: 18.91 MB / 463.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.348, allocations: 10.12 kB / 463.5 MB, free: 3.738 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00257/0.3506, allocations: 0.9519 MB / 464.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3506, allocations: 8.25 kB / 464.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.3518, allocations: 186.6 kB / 464.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3521, allocations: 230.1 kB / 464.8 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.3521, allocations: 21.78 kB / 464.9 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3522, allocations: 50.61 kB / 464.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/0.3533, allocations: 0.5029 MB / 465.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3543, allocations: 0.5792 MB / 466 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3543, allocations: 1.375 kB / 466 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.3544, allocations: 0 / 466 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3544, allocations: 16.5 kB / 466 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.3576, allocations: 2.234 MB / 468.2 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3588, allocations: 0.5883 MB / 468.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3591, allocations: 212.2 kB / 469 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3592, allocations: 101.5 kB / 469.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3593, allocations: 45.52 kB / 469.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.404e-06/0.3593, allocations: 0 / 469.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001037/0.3603, allocations: 466.5 kB / 469.6 MB, free: 0.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3604, allocations: 113.7 kB / 469.7 MB, free: 0.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3606, allocations: 210.1 kB / 469.9 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.3606, allocations: 25.7 kB / 470 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.3607, allocations: 263.8 kB / 470.2 MB, free: 436 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3608, allocations: 210.1 kB / 470.4 MB, free: 276 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.3609, allocations: 0 / 470.4 MB, free: 276 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.361, allocations: 344.6 kB / 470.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.3613, allocations: 174.7 kB / 470.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.3616, allocations: 263 kB / 471.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.3622, allocations: 228.5 kB / 471.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3622, allocations: 0 / 471.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0011/0.3633, allocations: 0.5616 MB / 472 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3633, allocations: 6.844 kB / 472 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3634, allocations: 5.844 kB / 472 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3634, allocations: 4.438 kB / 472 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.3642, allocations: 170 kB / 472.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3643, allocations: 9.031 kB / 472.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.3648, allocations: 61.05 kB / 472.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.3649, allocations: 30.39 kB / 472.3 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.365, allocations: 125.8 kB / 472.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3651, allocations: 33.22 kB / 472.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3663, allocations: 0.5349 MB / 473 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3663, allocations: 6.875 kB / 473 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3663, allocations: 5.406 kB / 473 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3663, allocations: 3.984 kB / 473 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.3682, allocations: 1.18 MB / 474.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3682, allocations: 0 / 474.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.3689, allocations: 143.4 kB / 474.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3689, allocations: 3.375 kB / 474.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.369, allocations: 5.438 kB / 474.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.369, allocations: 3.656 kB / 474.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.369, allocations: 7.891 kB / 474.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/0.3703, allocations: 0.8912 MB / 475.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3705, allocations: 128.7 kB / 475.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.3705, allocations: 5.219 kB / 475.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.371, allocations: 24.66 kB / 475.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3711, allocations: 39.66 kB / 475.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.3711, allocations: 20 kB / 475.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001506/0.3713, allocations: 169.8 kB / 475.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.3719, allocations: 157.5 kB / 475.7 MB, free: 14.15 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002523/0.3722, allocations: 141.2 kB / 475.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007547/0.3729, allocations: 469.8 kB / 476.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.373, allocations: 0 / 476.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.3733, allocations: 246.2 kB / 476.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3736, allocations: 35.34 kB / 476.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3755, allocations: 0.79 MB / 477.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.3762, allocations: 0.9162 MB / 478.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3762, allocations: 4 kB / 478.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01146/0.3877, allocations: 6.509 MB / 484.8 MB, free: 6.043 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches