Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0007217/0.0007217, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009733/0.001695, 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.0006806/0.0006806, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002558/0.003239, 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.9026/0.9026, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1472/1.05, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.137/0.137, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02319/0.1602, allocations: 12.32 MB / 266.1 MB, free: 3.875 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.938 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.426e-05, allocations: 6.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001445/0.001479, allocations: 0.5985 MB / 268 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000493/0.001972, allocations: 374.7 kB / 268.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.001996, allocations: 0 / 268.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.642e-06/0.002003, allocations: 7.938 kB / 268.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.216e-05/0.002015, allocations: 3.938 kB / 268.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.002343, allocations: 123.4 kB / 268.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.002406, allocations: 23.92 kB / 268.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.002447, allocations: 7.984 kB / 268.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.002507, allocations: 23.92 kB / 268.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.002573, allocations: 11.97 kB / 268.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.002586, allocations: 4 kB / 268.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.002856, allocations: 159.8 kB / 268.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002871, allocations: 7.938 kB / 268.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.002888, allocations: 4 kB / 268.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.003078, allocations: 123.6 kB / 268.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.003091, allocations: 0 / 268.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003092, allocations: 0 / 268.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.003103, allocations: 0 / 268.8 MB, free: 1.102 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003884/0.003491, allocations: 280.3 kB / 269.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003526, allocations: 15.89 kB / 269.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.003557, allocations: 0.9375 kB / 269.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.003654, allocations: 121.7 kB / 269.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003667, allocations: 4.375 kB / 269.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.003697, allocations: 8.375 kB / 269.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.003779, allocations: 50.17 kB / 269.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.00379, allocations: 4.172 kB / 269.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.003797, allocations: 384 / 269.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.003805, allocations: 8.125 kB / 269.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.003836, allocations: 11.98 kB / 269.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.00395, allocations: 69.05 kB / 269.4 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.004107, allocations: 50.56 kB / 269.4 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.004129, allocations: 16.86 kB / 269.5 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.004285, allocations: 31.97 kB / 269.5 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.00431, allocations: 38.48 kB / 269.5 MB, free: 324 kB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.004311, allocations: 4 kB / 269.5 MB, free: 320 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.03943/0.04374, allocations: 5.868 MB / 275.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.04378, allocations: 55.41 kB / 275.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.04385, allocations: 110.7 kB / 275.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.04392, allocations: 29.7 kB / 275.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.04394, allocations: 84.14 kB / 275.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.04403, allocations: 67.42 kB / 275.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.04417, allocations: 85.47 kB / 275.8 MB, free: 9.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.04425, allocations: 314.8 kB / 276.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.04447, allocations: 231.9 kB / 276.4 MB, free: 9.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.04468, allocations: 227.9 kB / 276.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.04545, allocations: 0.4888 MB / 277.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.04546, allocations: 0 / 277.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005409/0.046, allocations: 0.5097 MB / 277.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.04602, allocations: 11.92 kB / 277.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.04602, allocations: 4 kB / 277.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.04604, allocations: 4 kB / 277.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.04656, allocations: 151.6 kB / 277.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.04656, allocations: 4 kB / 277.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.04676, allocations: 23.97 kB / 277.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.0468, allocations: 23.92 kB / 277.8 MB, free: 7.906 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 (19): * Single equations (assignments): 19 * 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.0001331/0.04694, allocations: 109.8 kB / 277.9 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.04701, allocations: 23.92 kB / 277.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/0.04782, allocations: 0.693 MB / 278.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.04783, allocations: 4 kB / 278.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.04783, allocations: 3.938 kB / 278.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.04783, allocations: 0 / 278.6 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.04949, allocations: 0.8195 MB / 279.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.0495, allocations: 8.031 kB / 279.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.04988, allocations: 131.6 kB / 279.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.0499, allocations: 15.94 kB / 279.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.0499, allocations: 4 kB / 279.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.04993, allocations: 19.94 kB / 279.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.04994, allocations: 0 / 279.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.04994, allocations: 8.188 kB / 279.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.05041, allocations: 460.3 kB / 280.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.05046, allocations: 12 kB / 280.1 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.05065, allocations: 23.97 kB / 280.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.05067, allocations: 15.92 kB / 280.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.05071, allocations: 23.92 kB / 280.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.49e-05/0.05073, allocations: 12.84 kB / 280.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05073, allocations: 0 / 280.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00121/0.05195, allocations: 0.5191 MB / 280.7 MB, free: 4.922 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001662/0.05361, allocations: 303.7 kB / 281 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.05417, allocations: 452.5 kB / 281.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.05418, allocations: 0 / 281.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.0544, allocations: 213.6 kB / 281.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.05461, allocations: 75.84 kB / 281.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.05579, allocations: 498.4 kB / 282.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.05584, allocations: 67.58 kB / 282.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.0563, allocations: 221 kB / 282.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.05673, allocations: 111.2 kB / 282.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of SimCode: time 2.094e-06/0.05673, allocations: 4 kB / 282.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of Templates: time 0.179/0.2357, allocations: 51.7 MB / 334.3 MB, free: 8.277 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.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.55135069321841]