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.001448/0.001448, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001773/0.001773, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.8846/0.8846, allocations: 158.6 MB / 186 MB, free: 2.762 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.1443/0.1443, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.583e-06/1.583e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.44e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001294/0.001308, allocations: 0.5914 MB / 299.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006064/0.001914, allocations: 386.7 kB / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.001942, allocations: 0 / 300.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.001955, allocations: 7.938 kB / 300.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.302e-05/0.001988, allocations: 4 kB / 300.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.002331, allocations: 111.4 kB / 300.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.002386, allocations: 31.91 kB / 300.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.002422, allocations: 7.984 kB / 300.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.00246, allocations: 11.98 kB / 300.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.00251, allocations: 19.91 kB / 300.3 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.002521, allocations: 4 kB / 300.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.002761, allocations: 147.8 kB / 300.4 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.003095, allocations: 11.92 kB / 300.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.003114, allocations: 11.98 kB / 300.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.003304, allocations: 147.5 kB / 300.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003306, allocations: 0 / 300.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003307, allocations: 0 / 300.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.00331, allocations: 0 / 300.6 MB, free: 0.6914 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002723/0.003583, allocations: 268.5 kB / 300.8 MB, free: 416 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.003613, allocations: 12.03 kB / 300.8 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.003641, allocations: 8.922 kB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.003717, allocations: 117.7 kB / 301 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003727, allocations: 4.375 kB / 301 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.003744, allocations: 8.375 kB / 301 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.858e-05/0.003812, allocations: 50.22 kB / 301 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003821, allocations: 192 / 301 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003828, allocations: 4.312 kB / 301 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.003836, allocations: 8.125 kB / 301 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.003867, allocations: 11.98 kB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.884e-05/0.003966, allocations: 76.94 kB / 301.1 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.004093, allocations: 38.56 kB / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.004117, allocations: 17.14 kB / 301.2 MB, free: 0 / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/0.1156, allocations: 35.31 kB / 301.2 MB, free: 19.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1156, allocations: 31.91 kB / 301.2 MB, free: 19.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.1156, allocations: 3.531 kB / 301.3 MB, free: 19.71 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0609/0.1765, allocations: 5.714 MB / 307 MB, free: 18.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.1765, allocations: 53.94 kB / 307 MB, free: 18.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.1766, allocations: 114.1 kB / 307.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1766, allocations: 26.89 kB / 307.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.066e-05/0.1766, allocations: 86.39 kB / 307.2 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1767, allocations: 66 kB / 307.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1768, allocations: 63.14 kB / 307.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.1768, allocations: 320.2 kB / 307.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.177, allocations: 141.8 kB / 307.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1772, allocations: 151.8 kB / 308 MB, free: 17.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.1782, allocations: 404.9 kB / 308.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1782, allocations: 1.406 kB / 308.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007586/0.1789, allocations: 382.1 kB / 308.7 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1789, allocations: 5.469 kB / 308.7 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1789, allocations: 11.36 kB / 308.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.179, allocations: 1.406 kB / 308.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.1794, allocations: 101.9 kB / 308.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1794, allocations: 7.906 kB / 308.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1796, allocations: 16.2 kB / 308.9 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.1796, allocations: 22.31 kB / 308.9 MB, free: 17.65 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 8.119e-05/0.1797, allocations: 111.2 kB / 309 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.1797, allocations: 17.89 kB / 309 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.1807, allocations: 0.4895 MB / 309.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1807, allocations: 2.75 kB / 309.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1807, allocations: 3.938 kB / 309.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1807, allocations: 5.359 kB / 309.5 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.1825, allocations: 0.7066 MB / 310.2 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1825, allocations: 1.812 kB / 310.2 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1828, allocations: 85.52 kB / 310.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1828, allocations: 2.406 kB / 310.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.1828, allocations: 18.7 kB / 310.3 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1828, allocations: 3.031 kB / 310.3 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1828, allocations: 5.406 kB / 310.3 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.1835, allocations: 401 kB / 310.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1835, allocations: 8.922 kB / 310.7 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1836, allocations: 6.219 kB / 310.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1838, allocations: 25.03 kB / 310.8 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.1838, allocations: 17.62 kB / 310.8 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.1838, allocations: 24.27 kB / 310.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.106e-05/0.1838, allocations: 16.72 kB / 310.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1838, allocations: 0.7188 kB / 310.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001431/0.1853, allocations: 0.6481 MB / 311.5 MB, free: 16.61 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.002279/0.1876, allocations: 306.9 kB / 311.8 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.188, allocations: 299.4 kB / 312.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.188, allocations: 1.188 kB / 312.1 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1882, allocations: 129.8 kB / 312.2 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1884, allocations: 46.94 kB / 312.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1895, allocations: 411.9 kB / 312.7 MB, free: 16.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.1895, allocations: 61.88 kB / 312.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.1898, allocations: 127.5 kB / 312.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.1902, allocations: 104.7 kB / 312.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1902, allocations: 0 / 312.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.05882/0.249, allocations: 64.09 MB / 377 MB, free: 15.74 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.098950026091188]