Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [: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.001238/0.001238, allocations: 191.2 kB / 7.803 MB, free: 2.484 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.01/1.01, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007729/0.0007729, allocations: 83.38 kB / 261.4 MB, free: 13.55 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.1525/0.1525, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.36e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2177, allocations: 58.83 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3236, allocations: 83.85 MB / 0.5473 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3239, allocations: 63.97 kB / 0.5473 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008957/0.3329, allocations: 2.816 MB / 0.5501 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3329, allocations: 0 / 0.5501 GB, free: 12.23 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003201/0.3333, allocations: 362.2 kB / 0.5504 GB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3333, allocations: 8.031 kB / 0.5504 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3333, allocations: 11.84 kB / 0.5504 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3335, allocations: 163 kB / 0.5506 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3335, allocations: 8 kB / 0.5506 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3335, allocations: 11.91 kB / 0.5506 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.251e-05/0.3336, allocations: 39.97 kB / 0.5507 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.3337, allocations: 55.42 kB / 0.5507 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3337, allocations: 4 kB / 0.5507 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3337, allocations: 0 / 0.5507 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3337, allocations: 0 / 0.5507 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.3339, allocations: 150.1 kB / 0.5509 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.334, allocations: 81.61 kB / 0.5509 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.334, allocations: 24.86 kB / 0.551 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.3343, allocations: 109 kB / 0.5511 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3343, allocations: 46.55 kB / 0.5511 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3343, allocations: 0 / 0.5511 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1187/0.453, allocations: 5.249 MB / 0.5562 GB, free: 5.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4531, allocations: 59.27 kB / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.4532, allocations: 88.94 kB / 0.5564 GB, free: 5.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4532, allocations: 25.7 kB / 0.5564 GB, free: 5.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.4532, allocations: 80.52 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.4533, allocations: 74.91 kB / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.4533, allocations: 0 / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.4534, allocations: 322.9 kB / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4535, allocations: 67.97 kB / 0.5569 GB, free: 4.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4536, allocations: 63.98 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.4546, allocations: 207.7 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4546, allocations: 0 / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001232/0.4559, allocations: 357.1 kB / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4559, allocations: 4 kB / 0.5575 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4559, allocations: 0 / 0.5575 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4559, allocations: 4 kB / 0.5575 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.4564, allocations: 99.86 kB / 0.5576 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4564, allocations: 3.938 kB / 0.5576 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.4566, allocations: 39.95 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.4566, allocations: 19.98 kB / 0.5577 GB, free: 4.188 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 (23): * Single equations (assignments): 23 * 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 8.487e-05/0.4567, allocations: 110.3 kB / 0.5578 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.4568, allocations: 11.81 kB / 0.5578 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.4583, allocations: 462.3 kB / 0.5582 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4584, allocations: 8 kB / 0.5582 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4584, allocations: 4 kB / 0.5582 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4584, allocations: 0 / 0.5582 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.4607, allocations: 0.8037 MB / 0.559 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4607, allocations: 0 / 0.559 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.461, allocations: 91.92 kB / 0.5591 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.461, allocations: 4 kB / 0.5591 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4611, allocations: 11.98 kB / 0.5591 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4611, allocations: 0 / 0.5591 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4611, allocations: 0 / 0.5591 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001163/0.4622, allocations: 456.4 kB / 0.5596 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.4623, allocations: 92.94 kB / 0.5597 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.4623, allocations: 0 / 0.5597 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4626, allocations: 35.97 kB / 0.5597 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.4626, allocations: 11.98 kB / 0.5597 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.4626, allocations: 23.98 kB / 0.5597 GB, free: 1.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.349e-05/0.4626, allocations: 79.22 kB / 0.5598 GB, free: 1.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001406/0.4641, allocations: 0.5973 MB / 0.5604 GB, free: 1.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002711/0.4668, allocations: 334.7 kB / 0.5607 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4671, allocations: 163.9 kB / 0.5609 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4671, allocations: 0 / 0.5609 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4672, allocations: 89.16 kB / 0.5609 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.4674, allocations: 11.56 kB / 0.561 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.4681, allocations: 269.7 kB / 0.5612 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.4685, allocations: 0.7473 MB / 0.5619 GB, free: 15.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4685, allocations: 0 / 0.5619 GB, free: 15.64 MB / 410.7 MB Notification: Performance of Templates: time 0.0545/0.523, allocations: 48.19 MB / 0.609 GB, free: 15.28 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches