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.001356/0.001356, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001493/0.001493, allocations: 165 kB / 24.56 MB, free: 12 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.8953/0.8953, allocations: 177.1 MB / 205 MB, free: 5.605 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.2342/0.2342, allocations: 34.25 MB / 295.7 MB, free: 216 kB / 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.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.643e-05, allocations: 2.312 kB / 378 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0021/0.002126, allocations: 0.5516 MB / 378.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.002896, allocations: 378.8 kB / 378.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.00293, allocations: 0 / 378.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.002951, allocations: 3.938 kB / 378.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.002983, allocations: 4 kB / 378.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.00354, allocations: 139.4 kB / 379.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.003608, allocations: 31.91 kB / 379.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.003645, allocations: 3.984 kB / 379.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.003682, allocations: 12 kB / 379.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.003733, allocations: 11.97 kB / 379.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003748, allocations: 7.938 kB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.004007, allocations: 135.8 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.004024, allocations: 7.969 kB / 379.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.004049, allocations: 15.94 kB / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.004294, allocations: 143.7 kB / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004297, allocations: 0 / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004298, allocations: 0 / 379.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.004304, allocations: 3.938 kB / 379.5 MB, free: 1.074 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.0004292/0.004733, allocations: 392.3 kB / 379.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.004773, allocations: 12.03 kB / 379.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.004819, allocations: 12.89 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.00491, allocations: 104.6 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004923, allocations: 8.312 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.00495, allocations: 16.33 kB / 380 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.005057, allocations: 54.17 kB / 380 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005068, allocations: 192 / 380 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.005077, allocations: 384 / 380 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005086, allocations: 4.125 kB / 380 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.834e-05/0.005144, allocations: 19.98 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.005309, allocations: 124.6 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.005532, allocations: 67.06 kB / 380.2 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.00558, allocations: 27.67 kB / 380.3 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.005798, allocations: 35.95 kB / 380.3 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.005825, allocations: 37.39 kB / 380.3 MB, free: 52 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.005826, allocations: 0 / 380.3 MB, free: 52 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.06344/0.06927, allocations: 6.127 MB / 386.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.06931, allocations: 51.41 kB / 386.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.06938, allocations: 157.9 kB / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.06941, allocations: 29.7 kB / 386.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.06954, allocations: 130.9 kB / 386.8 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.06961, allocations: 75.36 kB / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.06973, allocations: 91.25 kB / 387 MB, free: 9.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.06983, allocations: 0.4923 MB / 387.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.07007, allocations: 215.9 kB / 387.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.0703, allocations: 215.9 kB / 387.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.07121, allocations: 0.5033 MB / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07121, allocations: 0 / 388.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008366/0.07205, allocations: 0.5777 MB / 389 MB, free: 7.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.07207, allocations: 4 kB / 389 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.07207, allocations: 4 kB / 389 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.07209, allocations: 0 / 389 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.07239, allocations: 103.8 kB / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.0724, allocations: 0 / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.07257, allocations: 23.97 kB / 389.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.07261, allocations: 35.94 kB / 389.2 MB, free: 7.125 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.0001079/0.07272, allocations: 164.5 kB / 389.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.07278, allocations: 15.89 kB / 389.3 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.0738, allocations: 0.6851 MB / 390 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.0738, allocations: 0 / 390 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.0738, allocations: 256 / 390 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.07381, allocations: 4 kB / 390 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.07586, allocations: 1.045 MB / 391.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.07587, allocations: 0 / 391.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.07611, allocations: 96.06 kB / 391.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.07612, allocations: 4 kB / 391.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.07615, allocations: 27.95 kB / 391.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.07616, allocations: 11.88 kB / 391.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.07616, allocations: 0 / 391.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.07695, allocations: 0.5964 MB / 391.8 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.07697, allocations: 11.95 kB / 391.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.077, allocations: 4 kB / 391.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.07718, allocations: 27.91 kB / 391.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.07721, allocations: 15.92 kB / 391.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.07724, allocations: 31.95 kB / 391.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.07727, allocations: 127.2 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.07727, allocations: 0 / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001308/0.07858, allocations: 0.648 MB / 392.7 MB, free: 3.492 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.002362/0.08094, allocations: 326.5 kB / 393 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.08149, allocations: 429.4 kB / 393.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.08149, allocations: 0 / 393.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.0817, allocations: 195.8 kB / 393.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.08193, allocations: 51.94 kB / 393.6 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.08304, allocations: 0.5158 MB / 394.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.08308, allocations: 63.59 kB / 394.2 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.08334, allocations: 121 kB / 394.3 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.08357, allocations: 88.34 kB / 394.4 MB, free: 1.633 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.08357, allocations: 0 / 394.4 MB, free: 1.633 MB / 362.7 MB Notification: Performance of Templates: time 0.27/0.3536, allocations: 64.17 MB / 458.6 MB, free: 80.63 MB / 410.8 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: 7.472833884414285]