Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [: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.0009023/0.0009023, allocations: 192.1 kB / 7.805 MB, free: 2.438 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.023/1.023, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009057/0.0009055, allocations: 98.52 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1591/0.1591, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.731e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3282, allocations: 83.75 MB / 0.5472 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.3284, allocations: 67.97 kB / 0.5472 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008816/0.3372, allocations: 2.687 MB / 0.5499 GB, free: 12.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3373, allocations: 0 / 0.5499 GB, free: 12.47 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003463/0.3376, allocations: 358.2 kB / 0.5502 GB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3377, allocations: 12.03 kB / 0.5502 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3377, allocations: 11.89 kB / 0.5502 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3379, allocations: 167 kB / 0.5504 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3379, allocations: 0 / 0.5504 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.3379, allocations: 7.906 kB / 0.5504 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.872e-05/0.338, allocations: 24 kB / 0.5504 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.3381, allocations: 53.61 kB / 0.5505 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3381, allocations: 3.984 kB / 0.5505 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3381, allocations: 0 / 0.5505 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3382, allocations: 0 / 0.5505 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.3383, allocations: 146.1 kB / 0.5506 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3385, allocations: 49.64 kB / 0.5507 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3386, allocations: 20.86 kB / 0.5507 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.3388, allocations: 121.1 kB / 0.5508 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3389, allocations: 34.78 kB / 0.5508 GB, free: 11.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3389, allocations: 0 / 0.5508 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1188/0.4577, allocations: 5.566 MB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4578, allocations: 55.41 kB / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.4579, allocations: 93 kB / 0.5564 GB, free: 5.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.458, allocations: 25.7 kB / 0.5564 GB, free: 5.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.458, allocations: 80.14 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.974e-05/0.4581, allocations: 63.09 kB / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.4581, allocations: 0 / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4583, allocations: 318.8 kB / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.4586, allocations: 187.9 kB / 0.557 GB, free: 4.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4589, allocations: 187.9 kB / 0.5572 GB, free: 4.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.46, allocations: 287.7 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.46, allocations: 0 / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001644/0.4616, allocations: 0.5675 MB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.4617, allocations: 8 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4617, allocations: 7.844 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4617, allocations: 192 / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.4625, allocations: 119.8 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4625, allocations: 7.938 kB / 0.5582 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.463, allocations: 35.95 kB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.4631, allocations: 31.94 kB / 0.5583 GB, free: 3.629 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001403/0.4632, allocations: 106.8 kB / 0.5584 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.4633, allocations: 11.84 kB / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4655, allocations: 0.7498 MB / 0.5591 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-06/0.4655, allocations: 7.906 kB / 0.5591 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4655, allocations: 0 / 0.5591 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4655, allocations: 3.984 kB / 0.5591 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.4694, allocations: 1.121 MB / 0.5602 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4694, allocations: 4.188 kB / 0.5602 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.47, allocations: 112 kB / 0.5603 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4701, allocations: 0 / 0.5603 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.4701, allocations: 31.95 kB / 0.5603 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4701, allocations: 4 kB / 0.5604 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.4701, allocations: 11.89 kB / 0.5604 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001483/0.4716, allocations: 0.6155 MB / 0.561 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.4717, allocations: 85.02 kB / 0.561 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.4718, allocations: 0 / 0.561 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.4722, allocations: 39.95 kB / 0.5611 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.4723, allocations: 11.89 kB / 0.5611 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.4723, allocations: 31.95 kB / 0.5611 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.361e-05/0.4724, allocations: 83.28 kB / 0.5612 GB, free: 452 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001659/0.474, allocations: 0.6325 MB / 0.5618 GB, free: 15.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 19 * 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.002772/0.4768, allocations: 330.5 kB / 0.5621 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.4775, allocations: 363.7 kB / 0.5625 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4775, allocations: 0 / 0.5625 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.4778, allocations: 163.8 kB / 0.5626 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.478, allocations: 7.469 kB / 0.5626 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4805, allocations: 0.4923 MB / 0.5631 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.4811, allocations: 0.7935 MB / 0.5639 GB, free: 13.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4811, allocations: 3.938 kB / 0.5639 GB, free: 13.6 MB / 410.7 MB Notification: Performance of Templates: time 0.06149/0.5426, allocations: 51.34 MB / 0.614 GB, free: 10.08 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches