Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001974/0.001974, allocations: 84.38 kB / 20.68 MB, free: 1.039 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.002298/0.002298, allocations: 164.7 kB / 23.95 MB, free: 4.168 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.45/1.45, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 34.29 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.878e-05, allocations: 5.234 kB / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001479/0.001508, allocations: 0.5128 MB / 443.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.001796, allocations: 87.8 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.001821, allocations: 0 / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.001837, allocations: 3.938 kB / 443.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.696e-05/0.001854, allocations: 0 / 443.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002043, allocations: 23.84 kB / 443.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.002099, allocations: 12 kB / 443.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.002149, allocations: 3.984 kB / 443.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.002188, allocations: 11.92 kB / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.002227, allocations: 0 / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.002241, allocations: 8 kB / 443.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.002332, allocations: 31.95 kB / 443.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.002346, allocations: 4 kB / 443.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.002361, allocations: 0 / 443.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.002462, allocations: 31.83 kB / 443.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002464, allocations: 4 kB / 443.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002465, allocations: 0 / 443.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.002474, allocations: 0 / 443.4 MB, free: 4.719 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.0003991/0.002873, allocations: 246.4 kB / 443.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.002906, allocations: 12.03 kB / 443.6 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.002939, allocations: 12.88 kB / 443.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.003048, allocations: 101.8 kB / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.003064, allocations: 8.375 kB / 443.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.003076, allocations: 384 / 443.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.003207, allocations: 55.91 kB / 443.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.003216, allocations: 192 / 443.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.003224, allocations: 384 / 443.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003228, allocations: 4.375 kB / 443.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.003273, allocations: 11.94 kB / 443.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.003588, allocations: 268.7 kB / 444.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.003653, allocations: 34.55 kB / 444.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.003689, allocations: 12.86 kB / 444.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.003701, allocations: 0 / 444.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.00374, allocations: 42.5 kB / 444.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.003741, allocations: 0 / 444.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001848/0.003926, allocations: 53.72 kB / 444.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.003964, allocations: 55.34 kB / 444.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.004071, allocations: 101.8 kB / 444.4 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.004089, allocations: 25.7 kB / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.004142, allocations: 84.09 kB / 444.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.004157, allocations: 16.03 kB / 444.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.004189, allocations: 13.72 kB / 444.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.004347, allocations: 318.8 kB / 444.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.004373, allocations: 7.984 kB / 444.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.004403, allocations: 17.72 kB / 444.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.00446, allocations: 25.72 kB / 444.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.004464, allocations: 7.922 kB / 444.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001028/0.004567, allocations: 53.64 kB / 444.9 MB, free: 2.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.004583, allocations: 11.98 kB / 445 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.00459, allocations: 7.969 kB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.004604, allocations: 0 / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.00467, allocations: 8 kB / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.004675, allocations: 0 / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.004697, allocations: 3.938 kB / 445 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.004706, allocations: 4 kB / 445 MB, free: 2.93 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 0.0001077/0.004813, allocations: 110.5 kB / 445.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.004841, allocations: 8.078 kB / 445.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.004978, allocations: 65.53 kB / 445.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.004982, allocations: 4 kB / 445.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.004986, allocations: 4 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.00499, allocations: 3.984 kB / 445.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.005141, allocations: 109.2 kB / 445.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005141, allocations: 0 / 445.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.005188, allocations: 11.98 kB / 445.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.00519, allocations: 0 / 445.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.0052, allocations: 4 kB / 445.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.005203, allocations: 7.875 kB / 445.3 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005203, allocations: 0 / 445.3 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.005355, allocations: 147.5 kB / 445.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-06/0.00536, allocations: 0 / 445.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.005373, allocations: 8 kB / 445.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.005424, allocations: 3.938 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.00545, allocations: 0 / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.005455, allocations: 3.984 kB / 445.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.005498, allocations: 83.28 kB / 445.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005499, allocations: 3.938 kB / 445.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.005726, allocations: 4 kB / 445.5 MB, free: 2.293 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.0001351/0.005861, allocations: 95.25 kB / 445.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.005982, allocations: 27.92 kB / 445.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005984, allocations: 4.156 kB / 445.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.006016, allocations: 15.94 kB / 445.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.00623, allocations: 6.578 kB / 445.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.006495, allocations: 116.7 kB / 445.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.006568, allocations: 63.34 kB / 445.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.006596, allocations: 256 / 445.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.006625, allocations: 16.5 kB / 445.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.006625, allocations: 0 / 445.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of Templates: time 0.003004/0.009629, allocations: 469.2 kB / 446.3 MB, free: 1.441 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.772334918379784]