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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1935/0.1935, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.57e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001405/0.001431, allocations: 0.5005 MB / 440.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.001699, allocations: 83.73 kB / 440.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.001721, allocations: 4 kB / 440.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.001738, allocations: 3.938 kB / 440.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.982e-05/0.001758, allocations: 3.938 kB / 440.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.001934, allocations: 23.89 kB / 440.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.001984, allocations: 8 kB / 440.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.002027, allocations: 0 / 440.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.002068, allocations: 11.98 kB / 440.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.002109, allocations: 4 kB / 440.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.002122, allocations: 0 / 440.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.002204, allocations: 31.95 kB / 440.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.00222, allocations: 15.86 kB / 440.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.002236, allocations: 4 kB / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.002334, allocations: 27.91 kB / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002335, allocations: 0 / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002336, allocations: 0 / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.002343, allocations: 0 / 440.8 MB, free: 7.457 MB / 366.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.0003606/0.002703, allocations: 250.4 kB / 441 MB, free: 7.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.002736, allocations: 8.031 kB / 441 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.002765, allocations: 8.875 kB / 441.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.002871, allocations: 105.8 kB / 441.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002882, allocations: 4.375 kB / 441.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.002892, allocations: 384 / 441.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.003021, allocations: 59.95 kB / 441.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.003032, allocations: 4.188 kB / 441.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.00304, allocations: 384 / 441.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003044, allocations: 384 / 441.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.003091, allocations: 19.88 kB / 441.2 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.003381, allocations: 272.7 kB / 441.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.003443, allocations: 34.48 kB / 441.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.003479, allocations: 8.859 kB / 441.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.003494, allocations: 4 kB / 441.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.003517, allocations: 34.56 kB / 441.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.003518, allocations: 0 / 441.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.003708, allocations: 57.72 kB / 441.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.003745, allocations: 51.41 kB / 441.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.003828, allocations: 101.8 kB / 441.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.003845, allocations: 25.7 kB / 441.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.003901, allocations: 84.09 kB / 441.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.003915, allocations: 11.91 kB / 441.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.003951, allocations: 25.59 kB / 441.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.004083, allocations: 315 kB / 442.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.004109, allocations: 11.98 kB / 442.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.004143, allocations: 21.84 kB / 442.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.004199, allocations: 25.72 kB / 442.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.004203, allocations: 3.984 kB / 442.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.76e-05/0.0043, allocations: 53.64 kB / 442.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.004314, allocations: 11.98 kB / 442.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.004321, allocations: 7.922 kB / 442.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.004335, allocations: 0 / 442.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.004395, allocations: 12.03 kB / 442.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.0044, allocations: 0 / 442.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.004421, allocations: 0 / 442.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.004427, allocations: 4 kB / 442.4 MB, free: 5.656 MB / 366.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 7.856e-05/0.004506, allocations: 106.5 kB / 442.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.004533, allocations: 11.89 kB / 442.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.004671, allocations: 69.3 kB / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004673, allocations: 0 / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.004677, allocations: 0 / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004679, allocations: 0 / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.004813, allocations: 105.3 kB / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004814, allocations: 4 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.004857, allocations: 11.98 kB / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.004859, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.004865, allocations: 3.938 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.004868, allocations: 3.938 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004869, allocations: 0 / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.005009, allocations: 155.7 kB / 442.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.005015, allocations: 0 / 442.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.005027, allocations: 8.109 kB / 442.9 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.00508, allocations: 7.938 kB / 442.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.005109, allocations: 0 / 442.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.005117, allocations: 11.98 kB / 442.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.005157, allocations: 75.28 kB / 443 MB, free: 5.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.005157, allocations: 0 / 443 MB, free: 5.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.005385, allocations: 8 kB / 443 MB, free: 5.02 MB / 366.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 0.0001449/0.005529, allocations: 99.25 kB / 443.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.005631, allocations: 23.92 kB / 443.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005632, allocations: 0 / 443.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.005665, allocations: 12 kB / 443.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.00587, allocations: 8.156 kB / 443.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.00617, allocations: 116.7 kB / 443.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.006242, allocations: 63.34 kB / 443.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.006273, allocations: 0 / 443.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.006299, allocations: 12.5 kB / 443.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.0063, allocations: 0 / 443.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Templates: time 0.00363/0.009929, allocations: 472.2 kB / 443.8 MB, free: 4.176 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.482026971876621]