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.001198/0.001198, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001946/0.003145, allocations: 452 kB / 10.43 MB, free: 264 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.001262/0.001262, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002851, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.924/0.924, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1395/1.063, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1301/0.1301, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01922/0.1494, allocations: 12.31 MB / 266.1 MB, free: 3.871 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 1.633e-06/1.633e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.234e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00204/0.002063, allocations: 0.5907 MB / 268 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.002771, allocations: 386.7 kB / 268.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.002794, allocations: 0 / 268.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.268e-06/0.002803, allocations: 3.938 kB / 268.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.213e-05/0.002815, allocations: 0 / 268.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.00312, allocations: 123.4 kB / 268.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.00318, allocations: 23.98 kB / 268.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.003228, allocations: 7.922 kB / 268.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.003284, allocations: 27.97 kB / 268.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.003349, allocations: 19.97 kB / 268.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003362, allocations: 3.938 kB / 268.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.00359, allocations: 159.7 kB / 268.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.003605, allocations: 4 kB / 268.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.003623, allocations: 11.94 kB / 268.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.003794, allocations: 119.7 kB / 268.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.003806, allocations: 0 / 268.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.003808, allocations: 0 / 268.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.003818, allocations: 0 / 268.8 MB, free: 1.09 MB / 266.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.0003666/0.004184, allocations: 284.2 kB / 269.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.004224, allocations: 15.89 kB / 269.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.004266, allocations: 8.938 kB / 269.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004378, allocations: 113.7 kB / 269.3 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004392, allocations: 4.375 kB / 269.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.004427, allocations: 8.359 kB / 269.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004536, allocations: 58.17 kB / 269.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.004551, allocations: 8.156 kB / 269.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.004561, allocations: 4.375 kB / 269.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.004571, allocations: 4.125 kB / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.004636, allocations: 27.97 kB / 269.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.004766, allocations: 69 kB / 269.4 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.004872, allocations: 74.53 kB / 269.5 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.004899, allocations: 12.86 kB / 269.5 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.005102, allocations: 35.95 kB / 269.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.005129, allocations: 34.5 kB / 269.6 MB, free: 260 kB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.005131, allocations: 0 / 269.6 MB, free: 260 kB / 266.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.0489/0.05403, allocations: 4.616 MB / 274.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.05407, allocations: 63.34 kB / 274.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.05413, allocations: 102.7 kB / 274.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.05416, allocations: 33.7 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.05419, allocations: 80.52 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.05427, allocations: 75.33 kB / 274.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.05436, allocations: 49.66 kB / 274.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.05446, allocations: 318.8 kB / 274.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.05454, allocations: 35.97 kB / 275 MB, free: 10.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.05461, allocations: 39.97 kB / 275 MB, free: 10.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.0548, allocations: 109.1 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0548, allocations: 4.125 kB / 275.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002501/0.05505, allocations: 145.5 kB / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.05507, allocations: 4 kB / 275.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.05507, allocations: 0 / 275.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.05509, allocations: 0 / 275.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.05545, allocations: 91.88 kB / 275.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.05546, allocations: 0 / 275.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.0556, allocations: 35.95 kB / 275.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.05562, allocations: 7.984 kB / 275.4 MB, free: 10.32 MB / 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 9.702e-05/0.05572, allocations: 121.8 kB / 275.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.05576, allocations: 15.92 kB / 275.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.05617, allocations: 186.1 kB / 275.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.05618, allocations: 4 kB / 275.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.05618, allocations: 3.938 kB / 275.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.05619, allocations: 3.984 kB / 275.7 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.05719, allocations: 471.8 kB / 276.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.0572, allocations: 0 / 276.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.05747, allocations: 79.97 kB / 276.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.05748, allocations: 15.94 kB / 276.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.05749, allocations: 4 kB / 276.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.05751, allocations: 3.984 kB / 276.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.05751, allocations: 4 kB / 276.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.05751, allocations: 3.938 kB / 276.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.05777, allocations: 229.2 kB / 276.5 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.05779, allocations: 8 kB / 276.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.05795, allocations: 35.95 kB / 276.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.05798, allocations: 11.92 kB / 276.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.058, allocations: 15.98 kB / 276.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.204e-05/0.05801, allocations: 4.859 kB / 276.6 MB, free: 9.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05801, allocations: 0 / 276.6 MB, free: 9.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001138/0.05915, allocations: 479.6 kB / 277 MB, free: 8.586 MB / 282.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.002005/0.06116, allocations: 299.8 kB / 277.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.06142, allocations: 120.7 kB / 277.5 MB, free: 8.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.06143, allocations: 4 kB / 277.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.06156, allocations: 80.78 kB / 277.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.06177, allocations: 35.91 kB / 277.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.06235, allocations: 274.6 kB / 277.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.0624, allocations: 75.97 kB / 277.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.06258, allocations: 49.14 kB / 278 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.06276, allocations: 79.33 kB / 278 MB, free: 7.516 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.06276, allocations: 0 / 278 MB, free: 7.516 MB / 282.7 MB Notification: Performance of Templates: time 0.161/0.2238, allocations: 43.95 MB / 322 MB, free: 3.68 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4603879656642675]