Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001317/0.001317, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001213/0.001213, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9442/0.9442, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1401/0.1401, allocations: 34.26 MB / 296.1 MB, free: 14 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.949e-05, allocations: 4.844 kB / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001577/0.001597, allocations: 0.5717 MB / 325.8 MB, free: 188 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.002336, allocations: 390.7 kB / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.002367, allocations: 8 kB / 326.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.002384, allocations: 3.938 kB / 326.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.002409, allocations: 0 / 326.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.002851, allocations: 119.5 kB / 326.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.002912, allocations: 23.92 kB / 326.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.002955, allocations: 11.98 kB / 326.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.003002, allocations: 19.97 kB / 326.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.003064, allocations: 19.97 kB / 326.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003079, allocations: 11.94 kB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.003365, allocations: 155.7 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.00338, allocations: 7.984 kB / 326.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.0034, allocations: 11.94 kB / 326.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.003607, allocations: 151.6 kB / 326.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00361, allocations: 0 / 326.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00361, allocations: 0 / 326.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.003613, allocations: 0 / 326.8 MB, free: 15.26 MB / 314.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.0002879/0.003901, allocations: 268.6 kB / 327 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.003937, allocations: 12.03 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.003966, allocations: 12.92 kB / 327.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.004051, allocations: 101.8 kB / 327.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004063, allocations: 12.31 kB / 327.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.004091, allocations: 8.375 kB / 327.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.004181, allocations: 62.16 kB / 327.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.004196, allocations: 8.125 kB / 327.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004203, allocations: 4.375 kB / 327.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.00421, allocations: 4.125 kB / 327.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.004263, allocations: 23.97 kB / 327.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.004378, allocations: 72.98 kB / 327.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.004479, allocations: 66.53 kB / 327.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.004508, allocations: 20.84 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.004673, allocations: 27.97 kB / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.004699, allocations: 38.5 kB / 327.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.0047, allocations: 0 / 327.5 MB, free: 14.45 MB / 314.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.05575/0.06045, allocations: 5.19 MB / 332.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.06048, allocations: 55.41 kB / 332.7 MB, free: 9.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.06053, allocations: 106.6 kB / 332.8 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.06055, allocations: 29.7 kB / 332.9 MB, free: 9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.06057, allocations: 84.5 kB / 333 MB, free: 8.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.06063, allocations: 75.33 kB / 333 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.06069, allocations: 53.59 kB / 333.1 MB, free: 8.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.06076, allocations: 318.8 kB / 333.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.06081, allocations: 39.84 kB / 333.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.06086, allocations: 35.97 kB / 333.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.06129, allocations: 171.9 kB / 333.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.06129, allocations: 4.125 kB / 333.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003111/0.0616, allocations: 181.4 kB / 333.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.06162, allocations: 4 kB / 333.8 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.06162, allocations: 0 / 333.8 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.06163, allocations: 4 kB / 333.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.06182, allocations: 79.83 kB / 333.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.06183, allocations: 0 / 333.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.06191, allocations: 31.97 kB / 333.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.06193, allocations: 7.969 kB / 333.9 MB, free: 7.906 MB / 314.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 7.026e-05/0.062, allocations: 121.8 kB / 334.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.06203, allocations: 23.91 kB / 334.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.06245, allocations: 230.1 kB / 334.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.06245, allocations: 4 kB / 334.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.06246, allocations: 0 / 334.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.06246, allocations: 3.984 kB / 334.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.06324, allocations: 0.4901 MB / 334.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.06324, allocations: 4.062 kB / 334.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.06338, allocations: 75.84 kB / 334.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.06339, allocations: 0 / 334.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.0634, allocations: 11.98 kB / 334.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.0634, allocations: 0 / 334.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0634, allocations: 4 kB / 334.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.06372, allocations: 264.1 kB / 335.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.06373, allocations: 7.953 kB / 335.2 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.06375, allocations: 8 kB / 335.2 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.06384, allocations: 35.97 kB / 335.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.06386, allocations: 11.97 kB / 335.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.06387, allocations: 15.92 kB / 335.2 MB, free: 6.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.613e-06/0.06388, allocations: 4.859 kB / 335.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06388, allocations: 0 / 335.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001001/0.06488, allocations: 0.6284 MB / 335.9 MB, free: 5.906 MB / 314.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.001987/0.06686, allocations: 307.8 kB / 336.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.06704, allocations: 124.5 kB / 336.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.06704, allocations: 0 / 336.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.06711, allocations: 64.75 kB / 336.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.06724, allocations: 19.98 kB / 336.4 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.06763, allocations: 272.4 kB / 336.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.06766, allocations: 75.92 kB / 336.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.06781, allocations: 73.14 kB / 336.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.06794, allocations: 75.34 kB / 336.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.06794, allocations: 0 / 336.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of Templates: time 0.1585/0.2265, allocations: 59.66 MB / 396.5 MB, free: 15 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 7.076729597058147]