Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001377/0.001377, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001436/0.001436, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8393/0.8393, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.955e-05, allocations: 16.22 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001789/0.001829, allocations: 0.5549 MB / 348.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.002632, allocations: 390.8 kB / 348.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.002668, allocations: 4 kB / 348.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.002694, allocations: 3.938 kB / 348.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.002723, allocations: 0 / 348.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.003302, allocations: 143.4 kB / 348.7 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.003373, allocations: 23.98 kB / 348.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.003416, allocations: 0 / 348.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.003461, allocations: 27.91 kB / 348.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.003519, allocations: 11.98 kB / 348.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003535, allocations: 4 kB / 348.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.003783, allocations: 139.8 kB / 348.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.003802, allocations: 11.92 kB / 349 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.003825, allocations: 8 kB / 349 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004048, allocations: 155.5 kB / 349.1 MB, free: 7.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.004053, allocations: 4 kB / 349.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004054, allocations: 0 / 349.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004058, allocations: 0 / 349.1 MB, free: 7.988 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.0003359/0.004394, allocations: 392.3 kB / 349.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.004445, allocations: 8.031 kB / 349.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.004498, allocations: 8.938 kB / 349.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.004595, allocations: 116.6 kB / 349.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.00461, allocations: 4.375 kB / 349.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.004641, allocations: 12.33 kB / 349.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.004767, allocations: 54.23 kB / 349.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.00478, allocations: 4.188 kB / 349.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.004791, allocations: 4.312 kB / 349.7 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.004801, allocations: 4.125 kB / 349.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.004868, allocations: 39.95 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.005009, allocations: 136.5 kB / 349.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.005129, allocations: 83.02 kB / 350 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.00517, allocations: 31.62 kB / 350 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.005391, allocations: 27.95 kB / 350 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.005411, allocations: 41.33 kB / 350.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.005413, allocations: 4 kB / 350.1 MB, free: 6.91 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.05764/0.06305, allocations: 5.4 MB / 355.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.06308, allocations: 55.41 kB / 355.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.06313, allocations: 153.9 kB / 355.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.06314, allocations: 33.7 kB / 355.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/0.06316, allocations: 127.2 kB / 355.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.06321, allocations: 75.34 kB / 355.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.06327, allocations: 63.33 kB / 356 MB, free: 0.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.06331, allocations: 0.4923 MB / 356.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.06339, allocations: 63.91 kB / 356.5 MB, free: 360 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.06346, allocations: 65.3 kB / 356.6 MB, free: 296 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.06393, allocations: 219.9 kB / 356.8 MB, free: 72 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.06393, allocations: 3.938 kB / 356.8 MB, free: 68 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004459/0.06438, allocations: 253.4 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.0644, allocations: 8 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0644, allocations: 0 / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.06442, allocations: 3.938 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.06463, allocations: 87.84 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.06464, allocations: 3.984 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.06473, allocations: 31.97 kB / 357.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.06475, allocations: 19.97 kB / 357.2 MB, free: 15.66 MB / 298.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 0.0001094/0.06486, allocations: 172.5 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.06489, allocations: 11.95 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.06548, allocations: 322 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.06548, allocations: 4 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.06549, allocations: 4 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.06549, allocations: 0 / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.0665, allocations: 0.672 MB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.0665, allocations: 0 / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.06664, allocations: 75.86 kB / 358.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.06665, allocations: 4 kB / 358.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.06667, allocations: 16 kB / 358.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.06667, allocations: 0 / 358.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.06667, allocations: 11.92 kB / 358.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.06712, allocations: 387.2 kB / 358.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.06713, allocations: 12.02 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.06715, allocations: 4 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.06724, allocations: 31.91 kB / 358.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.06726, allocations: 15.97 kB / 358.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.06728, allocations: 15.98 kB / 358.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.06731, allocations: 119.2 kB / 359.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06731, allocations: 0 / 359.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00118/0.06849, allocations: 0.6324 MB / 359.7 MB, free: 13.07 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.002339/0.07083, allocations: 326.6 kB / 360 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.07111, allocations: 163.7 kB / 360.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.07111, allocations: 4 kB / 360.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.07121, allocations: 95.45 kB / 360.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.07139, allocations: 27.97 kB / 360.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.07192, allocations: 302.2 kB / 360.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.07196, allocations: 67.84 kB / 360.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.07211, allocations: 73.14 kB / 360.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.07221, allocations: 56.45 kB / 360.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.07221, allocations: 0 / 360.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Templates: time 0.05946/0.1317, allocations: 59.63 MB / 420.4 MB, free: 96 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.248468551784754]