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.001606/0.001606, allocations: 107.6 kB / 21.19 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.002034/0.002034, allocations: 211.4 kB / 24.48 MB, free: 3.938 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.227/0.227, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.001972/0.001972, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.305, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001755/0.3068, allocations: 0.5226 MB / 0.5623 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.3076, allocations: 374.9 kB / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.3076, allocations: 0 / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.3077, allocations: 3.938 kB / 0.5627 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.3077, allocations: 0 / 0.5627 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.3082, allocations: 147.3 kB / 0.5628 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.3083, allocations: 35.91 kB / 0.5629 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3083, allocations: 4 kB / 0.5629 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.3083, allocations: 7.938 kB / 0.5629 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.3084, allocations: 23.91 kB / 0.5629 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3084, allocations: 4 kB / 0.5629 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.3087, allocations: 143.8 kB / 0.563 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.3087, allocations: 7.984 kB / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.3087, allocations: 15.92 kB / 0.5631 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3089, allocations: 122.2 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3089, allocations: 4 kB / 0.5632 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3089, allocations: 0 / 0.5632 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3089, allocations: 0 / 0.5632 GB, free: 2.785 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.0004528/0.3094, allocations: 290 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3094, allocations: 12.03 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3095, allocations: 12.83 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3096, allocations: 118.5 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3096, allocations: 4.375 kB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3096, allocations: 12.38 kB / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3098, allocations: 58.23 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3098, allocations: 7.938 kB / 0.5637 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3098, allocations: 0 / 0.5637 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3098, allocations: 4 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.3099, allocations: 51.52 kB / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3101, allocations: 125.2 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3102, allocations: 74.55 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.3103, allocations: 24.86 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.3105, allocations: 27.95 kB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3106, allocations: 34.56 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3106, allocations: 0 / 0.564 GB, free: 1.84 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.1379/0.4485, allocations: 5.624 MB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.4486, allocations: 55.41 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.4487, allocations: 97.86 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4487, allocations: 29.7 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.4488, allocations: 80.52 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4489, allocations: 83.25 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.449, allocations: 61.67 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4491, allocations: 322.8 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.4495, allocations: 116 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.4498, allocations: 115.9 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4513, allocations: 324.2 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4513, allocations: 0 / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001253/0.4526, allocations: 357.2 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4526, allocations: 8 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4526, allocations: 0 / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4526, allocations: 0 / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.4531, allocations: 79.91 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4531, allocations: 0 / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.4533, allocations: 31.95 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.4533, allocations: 23.92 kB / 0.5712 GB, free: 10.38 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.000143/0.4535, allocations: 121.7 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4535, allocations: 7.953 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.455, allocations: 428.7 kB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.455, allocations: 4 kB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.455, allocations: 3.938 kB / 0.5717 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.455, allocations: 3.984 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.4573, allocations: 0.7048 MB / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4573, allocations: 0 / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.4576, allocations: 71.98 kB / 0.5725 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4576, allocations: 8 kB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.4577, allocations: 15.92 kB / 0.5725 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4577, allocations: 7.938 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4577, allocations: 3.938 kB / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4589, allocations: 424.8 kB / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.4589, allocations: 11.89 kB / 0.5729 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.4589, allocations: 3.984 kB / 0.5729 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.4592, allocations: 23.97 kB / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4592, allocations: 19.97 kB / 0.573 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.4592, allocations: 12 kB / 0.573 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.4593, allocations: 83.27 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4593, allocations: 0 / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001734/0.461, allocations: 0.6284 MB / 0.5737 GB, free: 7.727 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.003023/0.464, allocations: 298.5 kB / 0.574 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.4649, allocations: 259.6 kB / 0.5742 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4649, allocations: 3.938 kB / 0.5742 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.4652, allocations: 127.8 kB / 0.5743 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4655, allocations: 12.12 kB / 0.5744 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4665, allocations: 351.3 kB / 0.5747 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.4666, allocations: 80.05 kB / 0.5748 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4667, allocations: 51.39 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4667, allocations: 0 / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Templates: time 0.02399/0.4907, allocations: 14.18 MB / 0.5887 GB, free: 8.34 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: 10.928466004988877]