Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 104.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 194 kB / 18.12 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2035/0.2035, allocations: 44.16 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 72.02 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09261, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001508/0.09414, allocations: 0.5681 MB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.09443, allocations: 94.27 kB / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.09445, allocations: 4 kB / 469.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.09447, allocations: 3.938 kB / 469.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.57e-05/0.0945, allocations: 0 / 469.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.09465, allocations: 11.98 kB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.09469, allocations: 12 kB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.09473, allocations: 0 / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.09476, allocations: 11.92 kB / 469.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.09481, allocations: 4 kB / 469.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.09483, allocations: 4 kB / 469.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.09491, allocations: 31.97 kB / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.09493, allocations: 7.969 kB / 469.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.09495, allocations: 7.938 kB / 469.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.09504, allocations: 23.91 kB / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09505, allocations: 0 / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.09505, allocations: 0 / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.09506, allocations: 0 / 469.3 MB, free: 14.07 MB / 350.1 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.000304/0.09538, allocations: 331.6 kB / 469.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.09542, allocations: 12.03 kB / 469.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.09545, allocations: 4.938 kB / 469.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.09555, allocations: 164.3 kB / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.09557, allocations: 384 / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.09558, allocations: 4.375 kB / 469.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.09568, allocations: 47.97 kB / 469.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.0957, allocations: 4.125 kB / 469.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.09572, allocations: 11.94 kB / 469.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.09573, allocations: 4 kB / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.09578, allocations: 15.92 kB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.09605, allocations: 325.3 kB / 470.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.09611, allocations: 34.52 kB / 470.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.09615, allocations: 12.94 kB / 470.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.09617, allocations: 0 / 470.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.0962, allocations: 42.56 kB / 470.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.09621, allocations: 0 / 470.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.09637, allocations: 53.62 kB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.09641, allocations: 51.41 kB / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.09647, allocations: 97.86 kB / 470.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.09649, allocations: 25.7 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.09653, allocations: 84.12 kB / 470.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.09655, allocations: 19.92 kB / 470.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.09659, allocations: 13.72 kB / 470.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.09669, allocations: 318.8 kB / 470.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.09672, allocations: 7.984 kB / 471 MB, free: 12.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.09675, allocations: 21.66 kB / 471 MB, free: 12.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.09681, allocations: 29.66 kB / 471 MB, free: 12.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.09682, allocations: 4 kB / 471 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.922e-05/0.09691, allocations: 61.56 kB / 471.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.09693, allocations: 4 kB / 471.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.09694, allocations: 3.984 kB / 471.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.09696, allocations: 4 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.09702, allocations: 4 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.09703, allocations: 4 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.09706, allocations: 3.906 kB / 471.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.09706, allocations: 0 / 471.1 MB, free: 12.03 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.09714, allocations: 121.8 kB / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.09717, allocations: 0 / 471.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.09729, allocations: 65.3 kB / 471.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.0973, allocations: 4 kB / 471.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.09731, allocations: 0 / 471.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.09731, allocations: 0 / 471.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.09746, allocations: 165.5 kB / 471.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09747, allocations: 0 / 471.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.09752, allocations: 8 kB / 471.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.09752, allocations: 0 / 471.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.09754, allocations: 8 kB / 471.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09754, allocations: 0 / 471.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.09755, allocations: 3.938 kB / 471.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.09767, allocations: 147.5 kB / 471.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.09771, allocations: 85.02 kB / 471.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.09772, allocations: 3.938 kB / 471.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.09778, allocations: 4 kB / 471.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.09781, allocations: 3.984 kB / 471.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.09782, allocations: 8 kB / 471.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.09785, allocations: 75.28 kB / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09786, allocations: 0 / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.09808, allocations: 8 kB / 471.8 MB, free: 11.23 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.524e-05/0.09818, allocations: 103.2 kB / 471.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.09827, allocations: 24.16 kB / 471.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.09828, allocations: 4 kB / 471.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.09832, allocations: 20.09 kB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.09853, allocations: 7.875 kB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.09875, allocations: 118.7 kB / 472.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.09899, allocations: 0.6731 MB / 472.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.09903, allocations: 7.984 kB / 472.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.09905, allocations: 11.44 kB / 472.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09906, allocations: 0 / 472.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.002152/0.1012, allocations: 432.8 kB / 473.2 MB, free: 9.781 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches