Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 182.1 kB / 8.148 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.2 MB / 213.7 MB, free: 8.582 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 93.16 kB / 261.8 MB, free: 5.172 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3984/0.3984, allocations: 43.49 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.755e-06, allocations: 0 / 417.7 MB, free: 68.58 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09846, allocations: 58.85 MB / 476.6 MB, free: 9.672 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4178, allocations: 83.83 MB / 0.5473 GB, free: 12.91 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4181, allocations: 61.47 kB / 0.5473 GB, free: 12.88 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01569/0.4338, allocations: 2.811 MB / 0.5501 GB, free: 10.61 MB / 370.8 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.4338, allocations: 8 kB / 0.5501 GB, free: 10.6 MB / 370.8 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.0004588/0.4343, allocations: 368.2 kB / 0.5504 GB, free: 10.21 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4344, allocations: 8.031 kB / 0.5504 GB, free: 10.2 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.4344, allocations: 7.844 kB / 0.5504 GB, free: 10.19 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.4346, allocations: 167 kB / 0.5506 GB, free: 9.984 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.4346, allocations: 0 / 0.5506 GB, free: 9.984 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4347, allocations: 15.89 kB / 0.5506 GB, free: 9.969 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/0.4348, allocations: 35.55 kB / 0.5506 GB, free: 9.938 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.435, allocations: 64.73 kB / 0.5507 GB, free: 9.875 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.435, allocations: 0 / 0.5507 GB, free: 9.875 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.435, allocations: 0 / 0.5507 GB, free: 9.875 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4351, allocations: 0.8438 kB / 0.5507 GB, free: 9.875 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.4353, allocations: 156.2 kB / 0.5509 GB, free: 9.691 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4354, allocations: 68.89 kB / 0.5509 GB, free: 9.629 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.4355, allocations: 24.23 kB / 0.5509 GB, free: 9.609 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/0.436, allocations: 117.1 kB / 0.5511 GB, free: 9.477 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.436, allocations: 30.56 kB / 0.5511 GB, free: 9.438 MB / 370.8 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.436, allocations: 0 / 0.5511 GB, free: 9.438 MB / 370.8 MB Notification: Performance of matching and sorting (n=23): time 0.2615/0.6975, allocations: 5.248 MB / 0.5562 GB, free: 4.23 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6976, allocations: 59.02 kB / 0.5563 GB, free: 4.164 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.6977, allocations: 93 kB / 0.5564 GB, free: 4.066 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.6978, allocations: 25.7 kB / 0.5564 GB, free: 4.035 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.6978, allocations: 150.9 kB / 0.5565 GB, free: 3.883 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.698, allocations: 69.84 kB / 0.5566 GB, free: 3.82 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.698, allocations: 0 / 0.5566 GB, free: 3.82 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6981, allocations: 330.2 kB / 0.5569 GB, free: 3.492 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.6984, allocations: 60.67 kB / 0.557 GB, free: 3.453 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.6986, allocations: 68.55 kB / 0.557 GB, free: 3.406 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.7005, allocations: 209 kB / 0.5572 GB, free: 3.227 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7005, allocations: 4.125 kB / 0.5572 GB, free: 3.223 MB / 370.8 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002334/0.7029, allocations: 365.8 kB / 0.5576 GB, free: 2.902 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.7029, allocations: 7.281 kB / 0.5576 GB, free: 2.898 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.703, allocations: 0 / 0.5576 GB, free: 2.898 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.703, allocations: 0 / 0.5576 GB, free: 2.898 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.7038, allocations: 95.91 kB / 0.5577 GB, free: 2.805 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7038, allocations: 0 / 0.5577 GB, free: 2.805 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.7043, allocations: 39.97 kB / 0.5577 GB, free: 2.766 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.7043, allocations: 15.86 kB / 0.5577 GB, free: 2.754 MB / 370.8 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 0.0001061/0.7044, allocations: 38.98 kB / 0.5578 GB, free: 2.711 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.7045, allocations: 11.91 kB / 0.5578 GB, free: 2.699 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.7075, allocations: 461.9 kB / 0.5582 GB, free: 2.285 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7075, allocations: 7.984 kB / 0.5582 GB, free: 2.277 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7075, allocations: 0 / 0.5582 GB, free: 2.277 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.7076, allocations: 0 / 0.5582 GB, free: 2.277 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.7119, allocations: 0.8028 MB / 0.559 GB, free: 1.477 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7119, allocations: 4.062 kB / 0.559 GB, free: 1.473 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.7126, allocations: 99.77 kB / 0.5591 GB, free: 1.375 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.7126, allocations: 0 / 0.5591 GB, free: 1.375 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.7127, allocations: 11.98 kB / 0.5591 GB, free: 1.363 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.7127, allocations: 0 / 0.5591 GB, free: 1.363 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.7127, allocations: 4 kB / 0.5591 GB, free: 1.359 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002281/0.715, allocations: 465.2 kB / 0.5596 GB, free: 0.9062 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.7151, allocations: 85.02 kB / 0.5596 GB, free: 0.8047 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.7152, allocations: 4 kB / 0.5597 GB, free: 0.8008 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.7156, allocations: 35.97 kB / 0.5597 GB, free: 0.7656 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.7156, allocations: 11.92 kB / 0.5597 GB, free: 0.7539 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.7157, allocations: 19.86 kB / 0.5597 GB, free: 0.7383 MB / 370.8 MB Notification: Performance of sort global known variables: time 4.135e-05/0.7157, allocations: 75.28 kB / 0.5598 GB, free: 0.6641 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.002224/0.718, allocations: 0.6012 MB / 0.5604 GB, free: 64 kB / 370.8 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.004661/0.7226, allocations: 337.6 kB / 0.5607 GB, free: 15.73 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.7233, allocations: 161.9 kB / 0.5609 GB, free: 15.61 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7233, allocations: 0 / 0.5609 GB, free: 15.61 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.7235, allocations: 79.47 kB / 0.5609 GB, free: 15.54 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7238, allocations: 7.688 kB / 0.5609 GB, free: 15.54 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.7252, allocations: 296 kB / 0.5612 GB, free: 15.23 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.7258, allocations: 0.7512 MB / 0.5619 GB, free: 14.46 MB / 386.8 MB Notification: Performance of SimCode: time 8.42e-07/0.7258, allocations: 0 / 0.5619 GB, free: 14.46 MB / 386.8 MB Notification: Performance of Templates: time 0.03225/0.7581, allocations: 13.35 MB / 0.575 GB, free: 1.082 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches