Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001526/0.001526, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001662/0.001662, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 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.2203/0.2203, allocations: 46.94 MB / 361.6 MB, free: 4.246 MB / 286.1 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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.91 kB / 0.4974 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 66.02 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00183/0.3264, allocations: 0.5459 MB / 0.5624 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.3272, allocations: 410.8 kB / 0.5628 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.3272, allocations: 0 / 0.5628 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.3273, allocations: 3.938 kB / 0.5628 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.691e-05/0.3273, allocations: 0 / 0.5628 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.3278, allocations: 147.3 kB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.3279, allocations: 31.91 kB / 0.563 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.3279, allocations: 8 kB / 0.563 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.3279, allocations: 11.94 kB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.328, allocations: 23.91 kB / 0.563 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.328, allocations: 0 / 0.563 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3283, allocations: 163.8 kB / 0.5632 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3283, allocations: 8 kB / 0.5632 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3283, allocations: 23.84 kB / 0.5632 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3285, allocations: 122.2 kB / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3285, allocations: 0 / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3285, allocations: 0 / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3285, allocations: 0 / 0.5633 GB, free: 2.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004223/0.329, allocations: 294 kB / 0.5636 GB, free: 2.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.329, allocations: 12.03 kB / 0.5636 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.329, allocations: 4.891 kB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3292, allocations: 118.4 kB / 0.5637 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3292, allocations: 8.312 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3292, allocations: 12.38 kB / 0.5637 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.3293, allocations: 58.23 kB / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3294, allocations: 3.938 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3294, allocations: 8 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3294, allocations: 7.938 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.3295, allocations: 39.95 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3297, allocations: 148.7 kB / 0.564 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3298, allocations: 78.48 kB / 0.5641 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.3298, allocations: 24.86 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.3301, allocations: 31.95 kB / 0.5641 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3301, allocations: 34.56 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 4.207e-06/0.3301, allocations: 3.984 kB / 0.5642 GB, free: 1.918 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1198/0.45, allocations: 5.622 MB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.45, allocations: 59.27 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.4501, allocations: 89.86 kB / 0.5698 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.4501, allocations: 29.7 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.4502, allocations: 84.45 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.4503, allocations: 83.27 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.4504, allocations: 57.67 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4505, allocations: 330.9 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.4508, allocations: 107.9 kB / 0.5705 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4511, allocations: 123.5 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.4525, allocations: 316.6 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4525, allocations: 4 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001113/0.4536, allocations: 356.1 kB / 0.5712 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4536, allocations: 8 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4536, allocations: 0 / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4536, allocations: 0 / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.454, allocations: 83.84 kB / 0.5713 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.454, allocations: 0 / 0.5713 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.4542, allocations: 27.97 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.4542, allocations: 15.92 kB / 0.5713 GB, free: 10.46 MB / 414.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 (23): * Single equations (assignments): 23 * 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.0001208/0.4544, allocations: 129.7 kB / 0.5715 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4544, allocations: 11.94 kB / 0.5715 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4557, allocations: 421.9 kB / 0.5719 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4557, allocations: 4 kB / 0.5719 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4557, allocations: 4 kB / 0.5719 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4557, allocations: 3.984 kB / 0.5719 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.4579, allocations: 0.7501 MB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4579, allocations: 3.938 kB / 0.5726 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4582, allocations: 71.88 kB / 0.5727 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.4582, allocations: 8.062 kB / 0.5727 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4582, allocations: 15.98 kB / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4582, allocations: 0 / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4582, allocations: 0 / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4593, allocations: 432.6 kB / 0.5731 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.4593, allocations: 11.89 kB / 0.5731 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.4594, allocations: 8 kB / 0.5732 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4596, allocations: 23.97 kB / 0.5732 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.4596, allocations: 19.97 kB / 0.5732 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.4596, allocations: 11.98 kB / 0.5732 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.4597, allocations: 79.28 kB / 0.5733 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4597, allocations: 0 / 0.5733 GB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001618/0.4613, allocations: 0.6323 MB / 0.5739 GB, free: 7.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.00278/0.4641, allocations: 294.5 kB / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007884/0.4648, allocations: 261.8 kB / 0.5744 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4648, allocations: 0 / 0.5744 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.4652, allocations: 130.4 kB / 0.5746 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.4654, allocations: 12 kB / 0.5746 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.4664, allocations: 357.1 kB / 0.5749 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.4667, allocations: 0.697 MB / 0.5756 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4669, allocations: 47.39 kB / 0.5756 GB, free: 5.895 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4669, allocations: 0 / 0.5756 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Templates: time 0.02319/0.4901, allocations: 14.16 MB / 0.5895 GB, free: 7.762 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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: 9.887104802997783]