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.001558/0.001558, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006662/0.006662, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8594/0.8594, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2324/0.2324, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.645e-05, allocations: 6.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001095/0.001122, allocations: 0.4933 MB / 443.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.001359, allocations: 91.73 kB / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.001382, allocations: 0 / 444 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.001397, allocations: 3.938 kB / 444 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.001416, allocations: 4 kB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.001605, allocations: 19.91 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.00166, allocations: 7.984 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.001702, allocations: 4 kB / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.001741, allocations: 15.92 kB / 444.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.001784, allocations: 0 / 444.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.001798, allocations: 4 kB / 444.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.001861, allocations: 23.97 kB / 444.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.001878, allocations: 11.97 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.001892, allocations: 4 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.001985, allocations: 31.84 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.001988, allocations: 0 / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.001989, allocations: 4 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.001993, allocations: 0 / 444.1 MB, free: 468 kB / 410.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.0003164/0.002309, allocations: 250.4 kB / 444.4 MB, free: 184 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.002343, allocations: 12.03 kB / 444.4 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.002373, allocations: 4.938 kB / 444.4 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.002448, allocations: 109.7 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.00246, allocations: 8.312 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.002468, allocations: 4.375 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1592/0.1617, allocations: 54.09 kB / 444.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1617, allocations: 192 / 444.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1617, allocations: 1.75 kB / 444.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1617, allocations: 5.188 kB / 444.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.1617, allocations: 13.97 kB / 444.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.162, allocations: 272.2 kB / 444.9 MB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.162, allocations: 27.39 kB / 444.9 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.162, allocations: 12.42 kB / 444.9 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.162, allocations: 0 / 444.9 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1621, allocations: 35.22 kB / 444.9 MB, free: 44.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1621, allocations: 0 / 444.9 MB, free: 44.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001512/0.1622, allocations: 57.73 kB / 445 MB, free: 44.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1622, allocations: 54.88 kB / 445 MB, free: 44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.1623, allocations: 98.28 kB / 445.1 MB, free: 43.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.1623, allocations: 25.7 kB / 445.2 MB, free: 43.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.1623, allocations: 84.27 kB / 445.2 MB, free: 43.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.1623, allocations: 15.03 kB / 445.3 MB, free: 43.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.1623, allocations: 15.72 kB / 445.3 MB, free: 43.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.555e-05/0.1624, allocations: 318.9 kB / 445.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.1624, allocations: 7.656 kB / 445.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.1624, allocations: 20.91 kB / 445.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.1624, allocations: 30.7 kB / 445.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1624, allocations: 2.297 kB / 445.6 MB, free: 43.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.159e-05/0.1625, allocations: 64.5 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1625, allocations: 5.469 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1625, allocations: 0 / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1625, allocations: 2.875 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.1626, allocations: 5.938 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1626, allocations: 3.375 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.1626, allocations: 8.234 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1626, allocations: 0 / 445.7 MB, free: 43.38 MB / 410.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 () * 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 3.384e-05/0.1626, allocations: 117.8 kB / 445.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1626, allocations: 0 / 445.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.074e-05/0.1627, allocations: 64.86 kB / 445.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1627, allocations: 6.141 kB / 445.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1627, allocations: 0 / 445.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1627, allocations: 3.328 kB / 445.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.32e-05/0.1628, allocations: 110.6 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1628, allocations: 0 / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.1628, allocations: 11.47 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.1628, allocations: 3.469 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1628, allocations: 0.75 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1628, allocations: 2.188 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1628, allocations: 0 / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.565e-05/0.1629, allocations: 154.3 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.1629, allocations: 3.438 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.1629, allocations: 0.5 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.1629, allocations: 8.344 kB / 446.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.163, allocations: 6.859 kB / 446.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.163, allocations: 0.5625 kB / 446.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.163, allocations: 78.41 kB / 446.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.163, allocations: 0 / 446.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.1631, allocations: 6.594 kB / 446.3 MB, free: 42.88 MB / 410.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 () * 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.605e-05/0.1632, allocations: 102.7 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.1633, allocations: 23.84 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1633, allocations: 3.969 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.1633, allocations: 16.88 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.1635, allocations: 10.47 kB / 446.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.1637, allocations: 129.1 kB / 446.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.1637, allocations: 68.45 kB / 446.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.1637, allocations: 12.31 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1637, allocations: 0 / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of Templates: time 0.001423/0.1651, allocations: 0.5932 MB / 447.3 MB, free: 42.58 MB / 410.7 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.284856122918427]