Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009949/0.0009949, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00095/0.00095, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.04e-05, allocations: 7.188 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002032/0.002062, allocations: 0.5865 MB / 323.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.002712, allocations: 387.2 kB / 324.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.002739, allocations: 0 / 324.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.002754, allocations: 0 / 324.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.002791, allocations: 3.938 kB / 324.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.003139, allocations: 127.4 kB / 324.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.003194, allocations: 28.53 kB / 324.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.003237, allocations: 0 / 324.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.003278, allocations: 15.98 kB / 324.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.003331, allocations: 11.97 kB / 324.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.003343, allocations: 7.938 kB / 324.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.003577, allocations: 151.8 kB / 324.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.003593, allocations: 15.97 kB / 324.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.003607, allocations: 7.938 kB / 324.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.003773, allocations: 147.6 kB / 324.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003775, allocations: 4 kB / 324.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003776, allocations: 0 / 324.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003779, allocations: 0 / 324.7 MB, free: 8.188 MB / 298.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.0002469/0.004026, allocations: 265.8 kB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004057, allocations: 8.031 kB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.004081, allocations: 8.938 kB / 325 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.004151, allocations: 117.7 kB / 325.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.004161, allocations: 8.297 kB / 325.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.004181, allocations: 4.375 kB / 325.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.486e-05/0.004246, allocations: 50.19 kB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004254, allocations: 4.188 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.00426, allocations: 4.375 kB / 325.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004267, allocations: 8.109 kB / 325.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.004295, allocations: 16 kB / 325.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.626e-05/0.004391, allocations: 65.05 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.004539, allocations: 46.58 kB / 325.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.00457, allocations: 24.84 kB / 325.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.004714, allocations: 31.95 kB / 325.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.004734, allocations: 30.56 kB / 325.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.004735, allocations: 4 kB / 325.4 MB, free: 7.418 MB / 298.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.05101/0.05574, allocations: 5.714 MB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.05578, allocations: 55.41 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.05584, allocations: 118.7 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.05588, allocations: 29.7 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.0559, allocations: 80.14 kB / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.05597, allocations: 71.36 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.05608, allocations: 65.58 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.05617, allocations: 322.8 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.05632, allocations: 135.9 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.05646, allocations: 150.7 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.05721, allocations: 404.5 kB / 332.5 MB, free: 212 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.05721, allocations: 4 kB / 332.5 MB, free: 208 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005833/0.05779, allocations: 379.9 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.05781, allocations: 15.92 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.05782, allocations: 0 / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.05783, allocations: 0 / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.05814, allocations: 95.8 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.05815, allocations: 7.922 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.0583, allocations: 15.98 kB / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.05834, allocations: 27.94 kB / 333.1 MB, free: 15.67 MB / 314.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 9.245e-05/0.05843, allocations: 113.8 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.05848, allocations: 15.92 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.05925, allocations: 497.7 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.05925, allocations: 0 / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.05925, allocations: 0 / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.05925, allocations: 7.984 kB / 333.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.06071, allocations: 0.7 MB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.06072, allocations: 4 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.06097, allocations: 91.75 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.06098, allocations: 4 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.06101, allocations: 15.95 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.06101, allocations: 8.188 kB / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06101, allocations: 0 / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.06155, allocations: 406.5 kB / 334.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.06156, allocations: 7.953 kB / 334.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.06159, allocations: 0 / 334.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.06175, allocations: 32.22 kB / 334.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.06177, allocations: 15.92 kB / 335 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.06181, allocations: 27.95 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.273e-05/0.06182, allocations: 12.84 kB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06182, allocations: 0 / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001231/0.06305, allocations: 0.6479 MB / 335.6 MB, free: 12.99 MB / 314.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.002047/0.0651, allocations: 315.6 kB / 336 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.06554, allocations: 292.6 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.06554, allocations: 4 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.06573, allocations: 128.6 kB / 336.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.06592, allocations: 40.81 kB / 336.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.06689, allocations: 421.2 kB / 336.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.06694, allocations: 67.58 kB / 336.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.0672, allocations: 125 kB / 337 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.06749, allocations: 107.2 kB / 337.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06749, allocations: 0 / 337.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of Templates: time 0.05854/0.126, allocations: 64.09 MB / 401.2 MB, free: 11.34 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.710942222736776]