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.001978/0.001978, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002525/0.002525, allocations: 161.7 kB / 24.27 MB, free: 172 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.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3449/0.3449, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.542e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001578/0.001604, allocations: 0.5426 MB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.002429, allocations: 366.9 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.002458, allocations: 0 / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.002473, allocations: 3.938 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.002514, allocations: 0 / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.003017, allocations: 143.4 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.003079, allocations: 27.91 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.003118, allocations: 7.984 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.003154, allocations: 11.98 kB / 378.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.003208, allocations: 19.92 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.00322, allocations: 0 / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.003476, allocations: 131.8 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.003493, allocations: 11.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.003522, allocations: 15.92 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.003778, allocations: 139.7 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00378, allocations: 4 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00378, allocations: 0 / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003784, allocations: 3.938 kB / 378.7 MB, free: 1.559 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.0004508/0.004235, allocations: 293.9 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.004268, allocations: 8.031 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.004318, allocations: 12.89 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.004435, allocations: 109.8 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004447, allocations: 384 / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.004476, allocations: 8.375 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.004613, allocations: 50.23 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.004631, allocations: 16.08 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.004642, allocations: 4.375 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.004648, allocations: 4.125 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.004713, allocations: 23.98 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.00489, allocations: 117.2 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.005108, allocations: 50.59 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.005167, allocations: 28.84 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.005415, allocations: 27.95 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.005447, allocations: 38.56 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005448, allocations: 0 / 379.5 MB, free: 0.6719 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.1432/0.1486, allocations: 6.391 MB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.1487, allocations: 55.41 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1488, allocations: 101.8 kB / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.1489, allocations: 33.7 kB / 386 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1489, allocations: 80.14 kB / 386.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.149, allocations: 63.44 kB / 386.2 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.1492, allocations: 89.59 kB / 386.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1494, allocations: 322.8 kB / 386.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.15, allocations: 227.8 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.1507, allocations: 226.4 kB / 387 MB, free: 9.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.1531, allocations: 0.5629 MB / 387.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1531, allocations: 0 / 387.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002351/0.1554, allocations: 0.6168 MB / 388.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1554, allocations: 12 kB / 388.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1554, allocations: 0 / 388.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1554, allocations: 3.984 kB / 388.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.1562, allocations: 103.8 kB / 388.3 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1562, allocations: 4 kB / 388.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1567, allocations: 23.97 kB / 388.3 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.1567, allocations: 31.94 kB / 388.4 MB, free: 7.66 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.0001817/0.1569, allocations: 125.8 kB / 388.5 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.157, allocations: 15.89 kB / 388.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.1595, allocations: 0.7241 MB / 389.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1595, allocations: 0 / 389.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1595, allocations: 0 / 389.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1595, allocations: 7.984 kB / 389.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.1641, allocations: 1.056 MB / 390.3 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1641, allocations: 4.25 kB / 390.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.1647, allocations: 99.8 kB / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1647, allocations: 4 kB / 390.4 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.1648, allocations: 32.14 kB / 390.4 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.1648, allocations: 11.88 kB / 390.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1648, allocations: 0 / 390.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.1667, allocations: 0.5782 MB / 391 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.1668, allocations: 11.95 kB / 391 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.1668, allocations: 8 kB / 391 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.1673, allocations: 31.89 kB / 391.1 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1673, allocations: 11.98 kB / 391.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.1674, allocations: 31.95 kB / 391.1 MB, free: 4.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.1675, allocations: 83.27 kB / 391.2 MB, free: 4.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 391.2 MB, free: 4.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001991/0.1694, allocations: 0.648 MB / 391.9 MB, free: 4.074 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.00348/0.1729, allocations: 326.5 kB / 392.2 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.1743, allocations: 436.2 kB / 392.6 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1743, allocations: 0 / 392.6 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.1749, allocations: 200.1 kB / 392.8 MB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1752, allocations: 50.34 kB / 392.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.178, allocations: 0.5402 MB / 393.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.178, allocations: 75.44 kB / 393.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.1785, allocations: 129 kB / 393.6 MB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.1789, allocations: 88.34 kB / 393.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1789, allocations: 0 / 393.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of Templates: time 0.2081/0.387, allocations: 58.43 MB / 452.1 MB, free: 104.5 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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: 5.829542609048076]