Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00139/0.00139, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001102/0.001102, allocations: 171.1 kB / 25.61 MB, free: 8.547 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.9339/0.9339, allocations: 177.1 MB / 206.1 MB, free: 4.484 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.1465/0.1465, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.299e-05, allocations: 5.828 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009327/0.0009457, allocations: 0.5388 MB / 377.8 MB, free: 25.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004692/0.001415, allocations: 374.8 kB / 378.2 MB, free: 24.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.001442, allocations: 4 kB / 378.2 MB, free: 24.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.001458, allocations: 3.938 kB / 378.2 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.139e-05/0.001479, allocations: 0 / 378.2 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.001833, allocations: 147.4 kB / 378.3 MB, free: 24.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.001878, allocations: 27.97 kB / 378.3 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.001915, allocations: 3.938 kB / 378.3 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.001945, allocations: 19.98 kB / 378.4 MB, free: 24.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.00199, allocations: 11.97 kB / 378.4 MB, free: 24.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.002, allocations: 4 kB / 378.4 MB, free: 24.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.00215, allocations: 143.8 kB / 378.5 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.002163, allocations: 4 kB / 378.5 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.002176, allocations: 19.91 kB / 378.5 MB, free: 24.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.002314, allocations: 151.5 kB / 378.7 MB, free: 24.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002317, allocations: 3.984 kB / 378.7 MB, free: 24.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002318, allocations: 4 kB / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.002321, allocations: 0 / 378.7 MB, free: 24.15 MB / 314.7 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.0002492/0.00257, allocations: 396.3 kB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.002601, allocations: 11.98 kB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.002629, allocations: 4.938 kB / 379.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.806e-05/0.002687, allocations: 108.6 kB / 379.2 MB, free: 23.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.002698, allocations: 4.375 kB / 379.2 MB, free: 23.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.002716, allocations: 16.31 kB / 379.2 MB, free: 23.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.524e-05/0.002781, allocations: 54.23 kB / 379.3 MB, free: 23.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.002792, allocations: 8.109 kB / 379.3 MB, free: 23.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.002799, allocations: 4.375 kB / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.002805, allocations: 12.06 kB / 379.3 MB, free: 23.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.002841, allocations: 23.97 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.732e-05/0.002928, allocations: 121.1 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.718e-05/0.002995, allocations: 75.02 kB / 379.5 MB, free: 23.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.003015, allocations: 23.67 kB / 379.5 MB, free: 23.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.003149, allocations: 31.97 kB / 379.6 MB, free: 23.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.003162, allocations: 41.33 kB / 379.6 MB, free: 23.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.003163, allocations: 4 kB / 379.6 MB, free: 23.11 MB / 314.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.06254/0.0657, allocations: 5.364 MB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.06575, allocations: 55.39 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.06582, allocations: 157.9 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.06584, allocations: 29.7 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.06586, allocations: 135.3 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.06592, allocations: 75.33 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.066, allocations: 67.31 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.06607, allocations: 0.4922 MB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.06613, allocations: 51.95 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/0.0662, allocations: 51.83 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.06666, allocations: 190.8 kB / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.06667, allocations: 0 / 386.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00038/0.06705, allocations: 233.3 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.06706, allocations: 4 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.06707, allocations: 0 / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.06708, allocations: 8 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.06726, allocations: 87.84 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.06726, allocations: 3.984 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/0.06735, allocations: 27.97 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.06737, allocations: 15.98 kB / 386.6 MB, free: 15.98 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 (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 6.512e-05/0.06743, allocations: 164.5 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.06746, allocations: 23.89 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.06791, allocations: 298 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.06791, allocations: 4 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.06791, allocations: 0 / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.06792, allocations: 0 / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.06873, allocations: 0.6374 MB / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.06873, allocations: 0 / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.06886, allocations: 75.88 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.06886, allocations: 4.062 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.06887, allocations: 15.98 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.06887, allocations: 4 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.06888, allocations: 3.984 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.06922, allocations: 383.2 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.06923, allocations: 15.88 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.06925, allocations: 4 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.06934, allocations: 27.97 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.06936, allocations: 23.91 kB / 388.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.06937, allocations: 15.98 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.06938, allocations: 119.2 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06938, allocations: 0 / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001123/0.07051, allocations: 0.6284 MB / 389.1 MB, free: 13.46 MB / 314.7 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.00213/0.07264, allocations: 322.5 kB / 389.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.07283, allocations: 142.6 kB / 389.5 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.07284, allocations: 0 / 389.5 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.0729, allocations: 87.66 kB / 389.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.07308, allocations: 27.92 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.07346, allocations: 295.2 kB / 389.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.588e-05/0.07349, allocations: 71.7 kB / 390 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.07363, allocations: 81.27 kB / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.07374, allocations: 114.2 kB / 390.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.07374, allocations: 0 / 390.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Templates: time 0.05525/0.129, allocations: 59.72 MB / 449.9 MB, free: 0.5156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.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.2941941088065505]