Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [: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.00165/0.00165, allocations: 170.3 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 91.05 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2603/0.2603, allocations: 43.51 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/8.145e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4383, allocations: 83.18 MB / 0.5466 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4386, allocations: 71.45 kB / 0.5467 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.001895/0.4405, allocations: 257.3 kB / 0.5469 GB, free: 15.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4406, allocations: 0 / 0.5469 GB, free: 15.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003294/0.4409, allocations: 326.3 kB / 0.5472 GB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.441, allocations: 8.031 kB / 0.5472 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.441, allocations: 0 / 0.5472 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.4412, allocations: 167 kB / 0.5474 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4412, allocations: 3.906 kB / 0.5474 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.4412, allocations: 3.984 kB / 0.5474 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.027e-05/0.4413, allocations: 12 kB / 0.5474 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.83e-05/0.4414, allocations: 47.42 kB / 0.5475 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.4415, allocations: 0 / 0.5475 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4415, allocations: 4 kB / 0.5475 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4415, allocations: 0 / 0.5475 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.4419, allocations: 301.6 kB / 0.5477 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.4419, allocations: 26.58 kB / 0.5478 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.442, allocations: 12.86 kB / 0.5478 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.442, allocations: 0 / 0.5478 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.4421, allocations: 34.55 kB / 0.5478 GB, free: 14.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4421, allocations: 4 kB / 0.5478 GB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002394/0.4423, allocations: 45.78 kB / 0.5479 GB, free: 14.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.4424, allocations: 55.34 kB / 0.5479 GB, free: 14.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.4425, allocations: 92.91 kB / 0.548 GB, free: 14.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4425, allocations: 33.81 kB / 0.548 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.4426, allocations: 154.6 kB / 0.5482 GB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.4426, allocations: 7.812 kB / 0.5482 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4426, allocations: 0 / 0.5482 GB, free: 14.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4428, allocations: 314.8 kB / 0.5485 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.4428, allocations: 4 kB / 0.5485 GB, free: 13.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.4429, allocations: 17.72 kB / 0.5485 GB, free: 13.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.443, allocations: 19.27 kB / 0.5485 GB, free: 13.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.443, allocations: 0 / 0.5485 GB, free: 13.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001563/0.4431, allocations: 53.62 kB / 0.5486 GB, free: 13.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4432, allocations: 4 kB / 0.5486 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4432, allocations: 128 / 0.5486 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4432, allocations: 7.906 kB / 0.5486 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4433, allocations: 15.92 kB / 0.5486 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4434, allocations: 4 kB / 0.5486 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.4434, allocations: 3.938 kB / 0.5486 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4434, allocations: 0 / 0.5486 GB, free: 13.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.309e-05/0.4435, allocations: 31.14 kB / 0.5486 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.4435, allocations: 7.906 kB / 0.5487 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.4437, allocations: 65.3 kB / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4438, allocations: 0 / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4438, allocations: 0 / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4438, allocations: 0 / 0.5487 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.444, allocations: 142.1 kB / 0.5488 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.444, allocations: 0 / 0.5488 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.4441, allocations: 8 kB / 0.5489 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4441, allocations: 4 kB / 0.5489 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4441, allocations: 0 / 0.5489 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4441, allocations: 0 / 0.5489 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4441, allocations: 0 / 0.5489 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001959/0.4443, allocations: 151.5 kB / 0.549 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.4444, allocations: 77.11 kB / 0.5491 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4444, allocations: 3.984 kB / 0.5491 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4445, allocations: 128 / 0.5491 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4446, allocations: 8 kB / 0.5491 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4446, allocations: 7.938 kB / 0.5491 GB, free: 13.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.497e-05/0.4446, allocations: 79.22 kB / 0.5492 GB, free: 12.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.4449, allocations: 15.91 kB / 0.5492 GB, free: 12.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001715/0.4451, allocations: 101.5 kB / 0.5493 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.4452, allocations: 19.98 kB / 0.5493 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4452, allocations: 0 / 0.5493 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.4453, allocations: 20.09 kB / 0.5493 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4456, allocations: 4 kB / 0.5493 GB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.4459, allocations: 89.62 kB / 0.5494 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.4462, allocations: 0.6926 MB / 0.5501 GB, free: 11.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4462, allocations: 0 / 0.5501 GB, free: 11.98 MB / 394.7 MB Notification: Performance of Templates: time 0.002426/0.4487, allocations: 0.5712 MB / 0.5506 GB, free: 11.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches