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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001465/0.001465, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.3149/0.3149, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.411, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00187/0.4129, allocations: 0.5265 MB / 0.558 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.4138, allocations: 370.9 kB / 0.5583 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.4138, allocations: 0 / 0.5583 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.4138, allocations: 7.938 kB / 0.5583 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.4139, allocations: 0 / 0.5583 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.4144, allocations: 143.4 kB / 0.5585 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.4145, allocations: 31.91 kB / 0.5585 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.4145, allocations: 4 kB / 0.5585 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.4146, allocations: 15.92 kB / 0.5585 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.4146, allocations: 23.91 kB / 0.5585 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4146, allocations: 0 / 0.5585 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.4149, allocations: 135.8 kB / 0.5587 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.4149, allocations: 8 kB / 0.5587 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.415, allocations: 19.86 kB / 0.5587 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.4152, allocations: 130.1 kB / 0.5588 GB, free: 6.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4152, allocations: 4 kB / 0.5588 GB, free: 6.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4152, allocations: 0 / 0.5588 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4152, allocations: 0 / 0.5588 GB, free: 6.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004209/0.4156, allocations: 290 kB / 0.5591 GB, free: 5.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4157, allocations: 8.031 kB / 0.5591 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.4157, allocations: 8.891 kB / 0.5591 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.4158, allocations: 110.5 kB / 0.5592 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4158, allocations: 12.38 kB / 0.5592 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.4159, allocations: 8.312 kB / 0.5592 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.416, allocations: 70.16 kB / 0.5593 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.416, allocations: 7.938 kB / 0.5593 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.416, allocations: 0 / 0.5593 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.416, allocations: 0 / 0.5593 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.4161, allocations: 43.95 kB / 0.5594 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.4163, allocations: 113.3 kB / 0.5595 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4164, allocations: 86.47 kB / 0.5595 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.4165, allocations: 24.84 kB / 0.5596 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.4167, allocations: 35.91 kB / 0.5596 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4168, allocations: 30.56 kB / 0.5596 GB, free: 5.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.123e-06/0.4168, allocations: 4 kB / 0.5596 GB, free: 5.145 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.1348/0.5516, allocations: 5.613 MB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.5516, allocations: 59.27 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.5517, allocations: 93.86 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.5517, allocations: 25.7 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.5518, allocations: 80.52 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.5519, allocations: 87.27 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.552, allocations: 57.67 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5522, allocations: 330.8 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.5525, allocations: 112 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.5529, allocations: 111.9 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.5544, allocations: 320.2 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5544, allocations: 11.88 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001235/0.5556, allocations: 353.2 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5557, allocations: 4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5557, allocations: 0 / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5557, allocations: 3.984 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.5561, allocations: 83.86 kB / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5561, allocations: 0 / 0.5668 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.5563, allocations: 27.97 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.5563, allocations: 15.97 kB / 0.5668 GB, free: 13.7 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.0001326/0.5564, allocations: 121.8 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.5565, allocations: 7.953 kB / 0.5669 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.558, allocations: 440.7 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.558, allocations: 4 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.558, allocations: 0 / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.558, allocations: 4 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.5603, allocations: 0.6905 MB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5603, allocations: 4.062 kB / 0.568 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.5606, allocations: 79.86 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5607, allocations: 4 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.5607, allocations: 15.92 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5607, allocations: 0 / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5607, allocations: 4 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.5619, allocations: 420.8 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.5619, allocations: 15.83 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.562, allocations: 4 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5622, allocations: 31.97 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.5622, allocations: 15.91 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.5622, allocations: 19.98 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.5623, allocations: 75.28 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5623, allocations: 0 / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001688/0.564, allocations: 0.6361 MB / 0.5693 GB, free: 11.04 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.003009/0.567, allocations: 286.6 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.5679, allocations: 263.6 kB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5679, allocations: 0 / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.5682, allocations: 134 kB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5685, allocations: 11.94 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5695, allocations: 333.6 kB / 0.5703 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.5696, allocations: 76.06 kB / 0.5704 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.5699, allocations: 81.08 kB / 0.5704 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.57, allocations: 47.39 kB / 0.5705 GB, free: 9.77 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.57, allocations: 0 / 0.5705 GB, free: 9.77 MB / 414.1 MB Notification: Performance of Templates: time 0.08026/0.6503, allocations: 54.09 MB / 0.6233 GB, free: 3.66 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.96318849734962]