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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.2245/0.2245, allocations: 44.91 MB / 353.5 MB, free: 11.92 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003224/0.003224, allocations: 63.89 kB / 497.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3135, allocations: 64.28 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001987/0.3155, allocations: 0.5526 MB / 0.5493 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.3163, allocations: 416.4 kB / 0.5497 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.3163, allocations: 0 / 0.5497 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.3163, allocations: 7.875 kB / 0.5498 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.3163, allocations: 1.375 kB / 0.5498 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.3168, allocations: 147.7 kB / 0.5499 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.3169, allocations: 27.33 kB / 0.5499 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3169, allocations: 3.031 kB / 0.5499 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.3169, allocations: 6.062 kB / 0.5499 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.317, allocations: 24.22 kB / 0.55 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.317, allocations: 1.438 kB / 0.55 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.3173, allocations: 163.9 kB / 0.5501 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.3173, allocations: 6.375 kB / 0.5501 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3173, allocations: 20.23 kB / 0.5501 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3175, allocations: 121.1 kB / 0.5502 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3175, allocations: 4 kB / 0.5503 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3175, allocations: 0 / 0.5503 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3175, allocations: 1.125 kB / 0.5503 GB, free: 12.09 MB / 398.1 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.000462/0.318, allocations: 291.6 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.318, allocations: 8.812 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3181, allocations: 7.922 kB / 0.5505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3182, allocations: 113 kB / 0.5507 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3182, allocations: 6.5 kB / 0.5507 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3182, allocations: 3.688 kB / 0.5507 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3184, allocations: 54.84 kB / 0.5507 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3184, allocations: 7.891 kB / 0.5507 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3184, allocations: 4.984 kB / 0.5507 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3184, allocations: 1.125 kB / 0.5507 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.3185, allocations: 32.61 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3187, allocations: 134.5 kB / 0.5509 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3189, allocations: 50.52 kB / 0.5509 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.3189, allocations: 27.61 kB / 0.551 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.3192, allocations: 33.11 kB / 0.551 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3192, allocations: 35.88 kB / 0.551 GB, free: 11.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.3192, allocations: 0 / 0.551 GB, free: 11.3 MB / 398.1 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.1502/0.4695, allocations: 6.385 MB / 0.5573 GB, free: 6.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4695, allocations: 55.41 kB / 0.5573 GB, free: 6.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.4696, allocations: 101.9 kB / 0.5574 GB, free: 6.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.4697, allocations: 29.7 kB / 0.5574 GB, free: 6.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.4697, allocations: 84.14 kB / 0.5575 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.4699, allocations: 71.41 kB / 0.5576 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.4701, allocations: 89.59 kB / 0.5577 GB, free: 6.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4702, allocations: 322.8 kB / 0.558 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.4708, allocations: 231.8 kB / 0.5582 GB, free: 5.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.4714, allocations: 223.8 kB / 0.5584 GB, free: 5.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.4738, allocations: 0.5658 MB / 0.559 GB, free: 4.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4738, allocations: 0 / 0.559 GB, free: 4.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002049/0.4758, allocations: 0.6026 MB / 0.5596 GB, free: 4.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4759, allocations: 4 kB / 0.5596 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4759, allocations: 7.984 kB / 0.5596 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4759, allocations: 3.938 kB / 0.5596 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.4766, allocations: 103.8 kB / 0.5597 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4766, allocations: 4 kB / 0.5597 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.4771, allocations: 27.95 kB / 0.5597 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.4772, allocations: 31.94 kB / 0.5597 GB, free: 4.051 MB / 398.1 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.000176/0.4773, allocations: 133.7 kB / 0.5599 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.4774, allocations: 7.953 kB / 0.5599 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.4798, allocations: 0.7301 MB / 0.5606 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4798, allocations: 0 / 0.5606 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4798, allocations: 4 kB / 0.5606 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4798, allocations: 256 / 0.5606 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.4843, allocations: 1.137 MB / 0.5617 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4843, allocations: 8.188 kB / 0.5617 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.4849, allocations: 99.84 kB / 0.5618 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4849, allocations: 0 / 0.5618 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.4849, allocations: 31.95 kB / 0.5618 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4849, allocations: 0 / 0.5618 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-05/0.4849, allocations: 8.406 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.4868, allocations: 0.5781 MB / 0.5624 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.4868, allocations: 15.94 kB / 0.5624 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.4869, allocations: 4 kB / 0.5624 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.4873, allocations: 23.97 kB / 0.5624 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.4873, allocations: 23.84 kB / 0.5625 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.4874, allocations: 27.95 kB / 0.5625 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.4874, allocations: 83.28 kB / 0.5626 GB, free: 1.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4874, allocations: 4 kB / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001833/0.4893, allocations: 0.6518 MB / 0.5632 GB, free: 376 kB / 398.1 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.003083/0.4924, allocations: 294.5 kB / 0.5635 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.4937, allocations: 443.5 kB / 0.5639 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4937, allocations: 0 / 0.5639 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.4942, allocations: 195.7 kB / 0.5641 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4945, allocations: 10.41 kB / 0.5641 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.497, allocations: 0.5294 MB / 0.5646 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4974, allocations: 0.6926 MB / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004673/0.4978, allocations: 125 kB / 0.5654 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.4982, allocations: 91.28 kB / 0.5655 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4982, allocations: 0 / 0.5655 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Templates: time 0.08013/0.5783, allocations: 57.62 MB / 0.6218 GB, free: 4.254 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.122083847410977]