Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 176.1 kB / 8.516 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.4 MB / 230.3 MB, free: 7.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 90.27 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.384e-06, allocations: 224 / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 61.91 MB / 0.4941 GB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.4409, allocations: 84.86 MB / 0.577 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.4411, allocations: 61.47 kB / 0.577 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009506/0.4506, allocations: 2.718 MB / 0.5797 GB, free: 9.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4507, allocations: 0 / 0.5797 GB, free: 9.27 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.0003843/0.451, allocations: 366.2 kB / 0.58 GB, free: 8.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4511, allocations: 15.91 kB / 0.58 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.4511, allocations: 3.906 kB / 0.58 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4513, allocations: 171 kB / 0.5802 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4513, allocations: 0 / 0.5802 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4513, allocations: 11.94 kB / 0.5802 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.419e-05/0.4514, allocations: 23.91 kB / 0.5802 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.059e-05/0.4515, allocations: 53.61 kB / 0.5803 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4516, allocations: 4 kB / 0.5803 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4516, allocations: 0 / 0.5803 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4516, allocations: 7.984 kB / 0.5803 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.4518, allocations: 142.1 kB / 0.5804 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.452, allocations: 45.7 kB / 0.5805 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.452, allocations: 24.86 kB / 0.5805 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.4523, allocations: 105.1 kB / 0.5806 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4523, allocations: 42.56 kB / 0.5806 GB, free: 8.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4524, allocations: 288 / 0.5806 GB, free: 8.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1257/0.5781, allocations: 5.552 MB / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.5782, allocations: 55.31 kB / 0.5861 GB, free: 2.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.5783, allocations: 97 kB / 0.5862 GB, free: 2.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.5783, allocations: 25.7 kB / 0.5862 GB, free: 2.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.5783, allocations: 84.14 kB / 0.5863 GB, free: 2.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.47e-05/0.5784, allocations: 59.09 kB / 0.5864 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.5785, allocations: 0 / 0.5864 GB, free: 2.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5786, allocations: 318.8 kB / 0.5867 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.5789, allocations: 183.9 kB / 0.5868 GB, free: 1.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.5792, allocations: 191.9 kB / 0.587 GB, free: 1.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.5803, allocations: 290.5 kB / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5803, allocations: 0 / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001682/0.582, allocations: 0.5714 MB / 0.5879 GB, free: 0.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5821, allocations: 4 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5821, allocations: 3.938 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5821, allocations: 3.906 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.5829, allocations: 123.8 kB / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5829, allocations: 0 / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.5834, allocations: 36.39 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.5835, allocations: 39.94 kB / 0.5881 GB, free: 428 kB / 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.0001488/0.5836, allocations: 104.9 kB / 0.5882 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.5837, allocations: 11.84 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.586, allocations: 0.742 MB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.586, allocations: 4 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.586, allocations: 3.906 kB / 0.5889 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.586, allocations: 7.984 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.5901, allocations: 1.133 MB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5901, allocations: 0 / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.5907, allocations: 112 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.5908, allocations: 4 kB / 0.5901 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.5908, allocations: 23.95 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5908, allocations: 7.938 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5908, allocations: 0 / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001546/0.5924, allocations: 0.6272 MB / 0.5908 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.5925, allocations: 88.95 kB / 0.5909 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.5926, allocations: 4 kB / 0.5909 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.593, allocations: 35.95 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.5931, allocations: 11.89 kB / 0.5909 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.5931, allocations: 31.95 kB / 0.5909 GB, free: 13.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.022e-05/0.5932, allocations: 83.28 kB / 0.591 GB, free: 13.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002006/0.5952, allocations: 0.6208 MB / 0.5916 GB, free: 12.6 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.0033/0.5985, allocations: 342.6 kB / 0.592 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.5993, allocations: 359.8 kB / 0.5923 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5993, allocations: 0 / 0.5923 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.5996, allocations: 163.8 kB / 0.5925 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5998, allocations: 8.781 kB / 0.5925 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.6026, allocations: 0.4965 MB / 0.5929 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/0.6032, allocations: 0.7974 MB / 0.5937 GB, free: 10.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.6032, allocations: 0 / 0.5937 GB, free: 10.38 MB / 410.7 MB Notification: Performance of Templates: time 0.06631/0.6696, allocations: 51.33 MB / 0.6438 GB, free: 7.035 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches