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.001721/0.001721, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002042/0.002042, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2217/0.2217, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.00202/0.00202, allocations: 68.08 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2961, allocations: 66.04 MB / 0.5618 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001677/0.2978, allocations: 0.5188 MB / 0.5623 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.2986, allocations: 382.8 kB / 0.5627 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.2986, allocations: 0 / 0.5627 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2986, allocations: 0 / 0.5627 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.2986, allocations: 3.938 kB / 0.5627 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.2992, allocations: 143.4 kB / 0.5628 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.2992, allocations: 31.91 kB / 0.5629 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.2993, allocations: 7.984 kB / 0.5629 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.2993, allocations: 15.94 kB / 0.5629 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.2994, allocations: 23.91 kB / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2994, allocations: 0 / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.2996, allocations: 143.8 kB / 0.563 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.2996, allocations: 8 kB / 0.563 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2997, allocations: 19.86 kB / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2999, allocations: 122.5 kB / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2999, allocations: 0 / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2999, allocations: 0 / 0.5632 GB, free: 2.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2999, allocations: 0 / 0.5632 GB, free: 2.918 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.0004107/0.3003, allocations: 294 kB / 0.5635 GB, free: 2.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3003, allocations: 8.031 kB / 0.5635 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3004, allocations: 8.891 kB / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3005, allocations: 110.4 kB / 0.5636 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3005, allocations: 12.38 kB / 0.5636 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.3005, allocations: 4.375 kB / 0.5636 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3007, allocations: 69.72 kB / 0.5637 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3007, allocations: 7.938 kB / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3007, allocations: 0 / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3007, allocations: 0 / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.3008, allocations: 47.95 kB / 0.5637 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.301, allocations: 117.3 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3012, allocations: 90.41 kB / 0.5639 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.3012, allocations: 28.84 kB / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.3015, allocations: 23.97 kB / 0.564 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3015, allocations: 34.56 kB / 0.564 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3015, allocations: 0 / 0.564 GB, free: 1.973 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.1478/0.4493, allocations: 5.614 MB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4494, allocations: 59.41 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.4495, allocations: 89.86 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4495, allocations: 25.7 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4496, allocations: 88.52 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.4497, allocations: 91.31 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4498, allocations: 57.67 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4499, allocations: 330.8 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.4503, allocations: 111.9 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.4507, allocations: 123.5 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.4523, allocations: 324.6 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4523, allocations: 0 / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001292/0.4536, allocations: 348.1 kB / 0.5711 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4536, allocations: 8 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4536, allocations: 3.938 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4537, allocations: 7.984 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.4541, allocations: 75.86 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.4541, allocations: 4 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.4543, allocations: 23.97 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4544, allocations: 19.97 kB / 0.5712 GB, free: 10.51 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.0001274/0.4545, allocations: 129.7 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.4545, allocations: 7.953 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.4561, allocations: 425.9 kB / 0.5717 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4561, allocations: 4 kB / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4561, allocations: 0 / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4561, allocations: 0 / 0.5717 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.4585, allocations: 0.6944 MB / 0.5724 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4586, allocations: 4 kB / 0.5724 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.4589, allocations: 79.86 kB / 0.5725 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4589, allocations: 0 / 0.5725 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.4589, allocations: 19.92 kB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4589, allocations: 4 kB / 0.5725 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4589, allocations: 8.062 kB / 0.5725 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4602, allocations: 416.8 kB / 0.5729 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.4602, allocations: 15.89 kB / 0.5729 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.4602, allocations: 8 kB / 0.5729 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.4605, allocations: 23.97 kB / 0.573 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.4605, allocations: 15.97 kB / 0.573 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.4605, allocations: 15.98 kB / 0.573 GB, free: 8.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.4605, allocations: 79.28 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4605, allocations: 0 / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4622, allocations: 0.6284 MB / 0.5737 GB, free: 7.867 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.003084/0.4653, allocations: 306.5 kB / 0.574 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.4661, allocations: 253.7 kB / 0.5742 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4661, allocations: 4 kB / 0.5742 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.4665, allocations: 123.8 kB / 0.5743 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.4668, allocations: 11.94 kB / 0.5744 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4678, allocations: 335.4 kB / 0.5747 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.614e-05/0.4678, allocations: 76.06 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.4681, allocations: 77.08 kB / 0.5748 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4682, allocations: 51.33 kB / 0.5749 GB, free: 6.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4682, allocations: 0 / 0.5749 GB, free: 6.59 MB / 414.1 MB Notification: Performance of Templates: time 0.06898/0.5372, allocations: 54.14 MB / 0.6277 GB, free: 436 kB / 462.1 MB " [Timeout remaining time 659] 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 -s gbode -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: 5.416258041994297]