Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.002356/0.002356, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002782/0.002782, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3373/0.3373, allocations: 34.26 MB / 295.3 MB, free: 0.6602 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.657e-05, allocations: 6.25 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001567/0.001603, allocations: 0.5353 MB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.002407, allocations: 378.9 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.002433, allocations: 0 / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.002449, allocations: 3.938 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.002485, allocations: 3.938 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.002931, allocations: 135.5 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.002999, allocations: 27.91 kB / 378.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.003032, allocations: 0 / 378.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.003072, allocations: 19.98 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.003123, allocations: 11.92 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.003141, allocations: 11.92 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.003399, allocations: 135.8 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.00341, allocations: 0 / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.003435, allocations: 19.91 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.003688, allocations: 139.6 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.003693, allocations: 4 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003694, allocations: 4 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003697, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.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.0005128/0.00421, allocations: 395.9 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004248, allocations: 12.03 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.004293, allocations: 8.891 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.004415, allocations: 116.6 kB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004425, allocations: 384 / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.004446, allocations: 4.375 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.004571, allocations: 58.17 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.004585, allocations: 4.141 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.004599, allocations: 8.359 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004605, allocations: 4.125 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.004675, allocations: 23.98 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.004864, allocations: 128.6 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.005105, allocations: 71.06 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.005162, allocations: 27.67 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.005395, allocations: 27.97 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.005429, allocations: 37.39 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.00543, allocations: 0 / 379.6 MB, free: 0.5156 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1491/0.1545, allocations: 6.416 MB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.1545, allocations: 55.41 kB / 386.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1547, allocations: 165.9 kB / 386.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.1547, allocations: 29.7 kB / 386.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1548, allocations: 130.9 kB / 386.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1549, allocations: 71.42 kB / 386.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1551, allocations: 91.25 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.1554, allocations: 0.4923 MB / 387 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.1561, allocations: 291.8 kB / 387.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.1568, allocations: 299.8 kB / 387.6 MB, free: 8.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.1591, allocations: 0.6581 MB / 388.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1591, allocations: 0 / 388.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002067/0.1612, allocations: 0.7316 MB / 389 MB, free: 6.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1612, allocations: 4 kB / 389 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1612, allocations: 0 / 389 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1613, allocations: 0 / 389 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.1619, allocations: 107.8 kB / 389.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1619, allocations: 4 kB / 389.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.1623, allocations: 23.97 kB / 389.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.1624, allocations: 31.94 kB / 389.2 MB, free: 6.828 MB / 362.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.1626, allocations: 164.6 kB / 389.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1627, allocations: 15.89 kB / 389.4 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.1652, allocations: 0.8439 MB / 390.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1652, allocations: 4 kB / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1652, allocations: 0 / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1652, allocations: 0 / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.1694, allocations: 1.166 MB / 391.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1694, allocations: 0 / 391.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.1699, allocations: 96.06 kB / 391.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1699, allocations: 0 / 391.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.17, allocations: 35.95 kB / 391.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.17, allocations: 7.875 kB / 391.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.17, allocations: 4 kB / 391.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.1719, allocations: 0.693 MB / 392.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.172, allocations: 15.94 kB / 392.2 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.172, allocations: 4 kB / 392.2 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.1724, allocations: 23.92 kB / 392.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1724, allocations: 15.97 kB / 392.3 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.1725, allocations: 35.95 kB / 392.3 MB, free: 3.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.1726, allocations: 123.2 kB / 392.4 MB, free: 3.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1726, allocations: 0 / 392.4 MB, free: 3.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001898/0.1745, allocations: 0.6519 MB / 393.1 MB, free: 2.812 MB / 362.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 () * Number of clocked 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 (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.003094/0.1776, allocations: 322.5 kB / 393.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.1791, allocations: 0.5506 MB / 393.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1791, allocations: 0 / 393.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006271/0.1798, allocations: 250.3 kB / 394.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1801, allocations: 51.95 kB / 394.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1826, allocations: 0.5747 MB / 394.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.1827, allocations: 87.42 kB / 394.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.1831, allocations: 121 kB / 395 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.1835, allocations: 88.36 kB / 395.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1835, allocations: 0 / 395.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of Templates: time 0.3645/0.548, allocations: 59.59 MB / 454.7 MB, free: 84.29 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 6.093591931974515]