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.0008504/0.0008504, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002602, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007381/0.0007381, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008721/0.00161, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.081/1.081, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1213/1.203, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2769/0.2769, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02493/0.3019, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.944e-06/1.944e-06, allocations: 3.938 kB / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.288e-05, allocations: 5.188 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001174/0.001197, allocations: 0.5845 MB / 291.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005571/0.001754, allocations: 389 kB / 291.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.001776, allocations: 0 / 291.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.55e-06/0.001782, allocations: 1.688 kB / 291.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.245e-06/0.00179, allocations: 3.938 kB / 291.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.0021, allocations: 124.4 kB / 291.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.002161, allocations: 25.95 kB / 291.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.002207, allocations: 15.19 kB / 291.7 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.002263, allocations: 21.81 kB / 291.7 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.00232, allocations: 15.16 kB / 291.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.002334, allocations: 5.188 kB / 291.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.002574, allocations: 153.1 kB / 291.9 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.002587, allocations: 4.125 kB / 291.9 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.002604, allocations: 11.06 kB / 291.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.002804, allocations: 118.9 kB / 292 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.79e-05/0.002822, allocations: 1.625 kB / 292 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002823, allocations: 0 / 292 MB, free: 6.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.002842, allocations: 4 kB / 292.1 MB, free: 6.672 MB / 282.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.0003633/0.003205, allocations: 284.9 kB / 292.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003238, allocations: 9.938 kB / 292.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.00327, allocations: 15.39 kB / 292.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.003347, allocations: 103.7 kB / 292.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003358, allocations: 2.344 kB / 292.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.003381, allocations: 12.61 kB / 292.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.003464, allocations: 61.16 kB / 292.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.003473, allocations: 192 / 292.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.003481, allocations: 4.359 kB / 292.5 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003487, allocations: 11.22 kB / 292.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.003534, allocations: 26.78 kB / 292.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.003641, allocations: 73.25 kB / 292.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.003717, allocations: 64.75 kB / 292.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.003739, allocations: 20.59 kB / 292.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.003896, allocations: 36.75 kB / 292.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.003918, allocations: 32.69 kB / 292.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.00392, allocations: 0 / 292.8 MB, free: 6.004 MB / 282.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.04487/0.04879, allocations: 4.481 MB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.04883, allocations: 59.34 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.04888, allocations: 102.7 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.0489, allocations: 29.7 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.04893, allocations: 80.52 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.049, allocations: 83.25 kB / 297.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.04908, allocations: 49.66 kB / 297.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.04918, allocations: 322.8 kB / 298 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.04925, allocations: 35.98 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.04932, allocations: 35.97 kB / 298.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.04947, allocations: 106.9 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.04947, allocations: 0 / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002454/0.04972, allocations: 145.5 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.04973, allocations: 8 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.04974, allocations: 0 / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.04975, allocations: 0 / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.05005, allocations: 91.86 kB / 298.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.05005, allocations: 0 / 298.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.05016, allocations: 27.97 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.05018, allocations: 15.97 kB / 298.4 MB, free: 328 kB / 282.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 8.567e-05/0.05027, allocations: 125.8 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.0503, allocations: 15.94 kB / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.05062, allocations: 189.3 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.05063, allocations: 7.938 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.05063, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.05063, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.05148, allocations: 467.9 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.05148, allocations: 0 / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.05168, allocations: 83.95 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.05169, allocations: 11.95 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.05169, allocations: 4 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.05171, allocations: 3.984 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.05171, allocations: 7.938 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.05171, allocations: 0 / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.05191, allocations: 225 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.05193, allocations: 8 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.05205, allocations: 31.97 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.05207, allocations: 15.91 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.05209, allocations: 11.98 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.877e-06/0.0521, allocations: 4.859 kB / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0521, allocations: 0 / 299.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009437/0.05304, allocations: 483.6 kB / 300.1 MB, free: 14.59 MB / 298.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.001568/0.05461, allocations: 299.7 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.05482, allocations: 119.1 kB / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.05483, allocations: 8.094 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.05491, allocations: 64.7 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.05509, allocations: 31.95 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.05568, allocations: 271.2 kB / 300.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.05573, allocations: 67.84 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.05588, allocations: 57.27 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.05603, allocations: 83.33 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.05603, allocations: 0 / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.04732/0.1033, allocations: 43.56 MB / 344.6 MB, free: 2.004 MB / 330.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 -ignoreHideResult -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: 5.927406081929803]