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.0009789/0.0009789, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 16 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 0.9492/0.9492, allocations: 177.1 MB / 205 MB, free: 5.266 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.2791/0.2791, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.713e-06/1.713e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.661e-05, allocations: 9.547 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001227/0.001254, allocations: 0.5477 MB / 378.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006173/0.001871, allocations: 378.8 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.001899, allocations: 0 / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.001921, allocations: 7.938 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.001953, allocations: 4 kB / 379 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.002426, allocations: 131.4 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.002489, allocations: 31.89 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.002528, allocations: 4 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.002561, allocations: 11.98 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.002618, allocations: 15.92 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.002633, allocations: 8 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.002833, allocations: 131.8 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.002849, allocations: 3.984 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.002871, allocations: 15.92 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.003069, allocations: 147.5 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003072, allocations: 0 / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.003073, allocations: 0 / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003078, allocations: 0 / 379.4 MB, free: 1.25 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.0003782/0.003456, allocations: 392.3 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003496, allocations: 15.97 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.003544, allocations: 12.89 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.003624, allocations: 108.6 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.003638, allocations: 4.375 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.00367, allocations: 12.33 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.003766, allocations: 46.23 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.003775, allocations: 4.188 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003785, allocations: 384 / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.003792, allocations: 8.062 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.003835, allocations: 19.98 kB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.003986, allocations: 128.5 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.004169, allocations: 59.05 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.004207, allocations: 35.89 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.004386, allocations: 31.95 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.004408, allocations: 37.39 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.00441, allocations: 0 / 380.3 MB, free: 232 kB / 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.06289/0.0673, allocations: 6.13 MB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.06734, allocations: 51.41 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.06742, allocations: 161.9 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.06746, allocations: 29.7 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.0675, allocations: 126.9 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.06757, allocations: 71.44 kB / 386.9 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.0677, allocations: 91.25 kB / 387 MB, free: 9.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.06781, allocations: 0.4923 MB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.06807, allocations: 211.9 kB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.06831, allocations: 218.1 kB / 387.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.06925, allocations: 0.506 MB / 388.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.06925, allocations: 0 / 388.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00088/0.07013, allocations: 0.5754 MB / 389 MB, free: 7.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.07015, allocations: 4 kB / 389 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.07016, allocations: 4 kB / 389 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.07017, allocations: 7.984 kB / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.0705, allocations: 99.84 kB / 389.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.07051, allocations: 0 / 389.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.07068, allocations: 19.98 kB / 389.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.07072, allocations: 31.94 kB / 389.1 MB, free: 7.309 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.0001215/0.07084, allocations: 168.5 kB / 389.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.07091, allocations: 15.89 kB / 389.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.07203, allocations: 0.6851 MB / 390 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.07204, allocations: 0 / 390 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.07204, allocations: 256 / 390 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.07205, allocations: 4 kB / 390 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.07405, allocations: 1.056 MB / 391.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.07406, allocations: 0 / 391.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.07433, allocations: 91.88 kB / 391.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.07434, allocations: 3.984 kB / 391.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.07437, allocations: 31.95 kB / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.07438, allocations: 11.88 kB / 391.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.07439, allocations: 0 / 391.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.07555, allocations: 0.5852 MB / 391.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.07557, allocations: 11.95 kB / 391.8 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.0756, allocations: 11.92 kB / 391.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.07579, allocations: 27.91 kB / 391.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.07581, allocations: 15.97 kB / 391.9 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.07585, allocations: 31.95 kB / 391.9 MB, free: 4.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.07589, allocations: 123.2 kB / 392 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07589, allocations: 4 kB / 392 MB, free: 4.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001477/0.07737, allocations: 0.648 MB / 392.7 MB, free: 3.66 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.002369/0.07974, allocations: 322.5 kB / 393 MB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006278/0.08036, allocations: 429.2 kB / 393.4 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.08037, allocations: 4 kB / 393.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.08059, allocations: 191.4 kB / 393.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.08084, allocations: 51.94 kB / 393.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.08203, allocations: 0.5192 MB / 394.2 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.08208, allocations: 63.58 kB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.08235, allocations: 121 kB / 394.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.08258, allocations: 92.34 kB / 394.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of SimCode: time 2.815e-06/0.08259, allocations: 0 / 394.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of Templates: time 0.1959/0.2784, allocations: 59.58 MB / 454 MB, free: 104.2 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6892522401176393]