Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001786/0.001786, allocations: 175.3 kB / 8.148 MB, free: 2.145 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.729/1.729, allocations: 205.2 MB / 213.7 MB, free: 13.95 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001661/0.00166, allocations: 87.17 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.258e-05, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3521, allocations: 47.56 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5506, allocations: 81.91 MB / 443.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004969/0.5512, allocations: 90.25 kB / 443.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08312/0.6344, allocations: 18.92 MB / 462.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.6345, allocations: 8 kB / 462.8 MB, free: 0.9766 MB / 346.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.004631/0.6391, allocations: 0.9436 MB / 463.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6392, allocations: 11.97 kB / 463.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.6413, allocations: 195 kB / 463.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.6417, allocations: 227 kB / 464.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.6418, allocations: 20 kB / 464.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.642, allocations: 47.84 kB / 464.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001968/0.644, allocations: 0.5116 MB / 464.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.6457, allocations: 0.5641 MB / 465.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.6458, allocations: 0 / 465.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.6459, allocations: 0 / 465.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.646, allocations: 20 kB / 465.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006538/0.6525, allocations: 2.234 MB / 467.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.6549, allocations: 0.5898 MB / 468.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.6556, allocations: 218.7 kB / 468.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.6558, allocations: 101.8 kB / 468.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.6559, allocations: 39.22 kB / 468.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.757e-06/0.6559, allocations: 4 kB / 468.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001871/0.6578, allocations: 467.5 kB / 468.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.6579, allocations: 111.5 kB / 469 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.6583, allocations: 214.8 kB / 469.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.6584, allocations: 25.7 kB / 469.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.6586, allocations: 314.3 kB / 469.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.6589, allocations: 212.8 kB / 469.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.659, allocations: 4 kB / 469.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6591, allocations: 334.8 kB / 470.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.6597, allocations: 177.6 kB / 470.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.6604, allocations: 253.7 kB / 470.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6615, allocations: 236 kB / 470.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.6615, allocations: 0 / 470.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002064/0.6636, allocations: 0.5464 MB / 471.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.6637, allocations: 8 kB / 471.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.6637, allocations: 4 kB / 471.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.6637, allocations: 7.938 kB / 471.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.6654, allocations: 179.9 kB / 471.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.6655, allocations: 4 kB / 471.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.6664, allocations: 55.52 kB / 471.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.271e-05/0.6665, allocations: 30.14 kB / 471.6 MB, free: 7.77 MB / 362.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.0001736/0.6667, allocations: 41.47 kB / 471.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.6669, allocations: 39.62 kB / 471.7 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.669, allocations: 0.5349 MB / 472.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6691, allocations: 8 kB / 472.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6691, allocations: 0 / 472.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6691, allocations: 7.984 kB / 472.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.6726, allocations: 1.181 MB / 473.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6727, allocations: 0 / 473.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.6741, allocations: 147.8 kB / 473.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.6742, allocations: 4 kB / 473.6 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.6742, allocations: 4 kB / 473.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.6743, allocations: 7.984 kB / 473.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6743, allocations: 0 / 473.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002578/0.6769, allocations: 0.8972 MB / 474.5 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.6772, allocations: 124.5 kB / 474.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.6773, allocations: 0 / 474.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.6782, allocations: 32.03 kB / 474.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6783, allocations: 36.5 kB / 474.7 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.6784, allocations: 20 kB / 474.7 MB, free: 4.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002821/0.6787, allocations: 164.5 kB / 474.8 MB, free: 4.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009272/0.6796, allocations: 163.5 kB / 475 MB, free: 4.266 MB / 362.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.0003712/0.68, allocations: 151.1 kB / 475.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.6815, allocations: 472.5 kB / 475.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.6816, allocations: 0 / 475.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.6822, allocations: 246.3 kB / 475.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.6828, allocations: 20.56 kB / 475.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.6866, allocations: 0.8244 MB / 476.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.6877, allocations: 0.9222 MB / 477.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of SimCode: time 1.913e-06/0.6878, allocations: 0 / 477.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of Templates: time 0.01785/0.7056, allocations: 6.642 MB / 484.3 MB, free: 10.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches