Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001043/0.001043, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002293, 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.0007968/0.0007968, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001842, 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.9067/0.9067, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.16/1.067, allocations: 49.5 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.1367/0.1367, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02319/0.1599, allocations: 12.31 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.203e-05, allocations: 2.312 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00163/0.001662, allocations: 0.5596 MB / 267.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.001807, allocations: 95.66 kB / 268 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.001828, allocations: 0 / 268 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.17e-06/0.001833, allocations: 8 kB / 268 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.00184, allocations: 3.938 kB / 268 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.411e-05/0.001924, allocations: 15.91 kB / 268.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.001983, allocations: 15.98 kB / 268.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002021, allocations: 0 / 268.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.002088, allocations: 15.92 kB / 268.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.002138, allocations: 0 / 268.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.002153, allocations: 0 / 268.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.002245, allocations: 27.97 kB / 268.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.00226, allocations: 4 kB / 268.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.002277, allocations: 8 kB / 268.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.002381, allocations: 31.89 kB / 268.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.002395, allocations: 0 / 268.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.002396, allocations: 0 / 268.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.002405, allocations: 0 / 268.2 MB, free: 1.781 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000347/0.002752, allocations: 232.6 kB / 268.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.002786, allocations: 8.031 kB / 268.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.002816, allocations: 4.938 kB / 268.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.002902, allocations: 105.8 kB / 268.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002912, allocations: 384 / 268.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.002923, allocations: 8.375 kB / 268.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.003041, allocations: 72.64 kB / 268.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003048, allocations: 192 / 268.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.003056, allocations: 4.359 kB / 268.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003061, allocations: 384 / 268.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.003078, allocations: 11.88 kB / 268.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.003295, allocations: 232.5 kB / 268.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.834e-05/0.003333, allocations: 18.58 kB / 268.8 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.003354, allocations: 8.859 kB / 268.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.003367, allocations: 7.938 kB / 268.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.003391, allocations: 34.56 kB / 268.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.003392, allocations: 0 / 268.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000117/0.003509, allocations: 45.72 kB / 268.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.003542, allocations: 55.34 kB / 269 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.003605, allocations: 114.6 kB / 269.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.003617, allocations: 25.7 kB / 269.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.003653, allocations: 80.14 kB / 269.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.003663, allocations: 11.91 kB / 269.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.003688, allocations: 17.72 kB / 269.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.00377, allocations: 322.9 kB / 269.6 MB, free: 232 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.003784, allocations: 7.938 kB / 269.6 MB, free: 224 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.003798, allocations: 13.72 kB / 269.6 MB, free: 204 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.003831, allocations: 25.7 kB / 269.6 MB, free: 172 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.003833, allocations: 0 / 269.6 MB, free: 172 kB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.606e-05/0.003889, allocations: 45.62 kB / 269.6 MB, free: 120 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.003904, allocations: 8 kB / 269.7 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.003908, allocations: 0 / 269.7 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.00392, allocations: 0 / 269.7 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.003987, allocations: 24.08 kB / 269.7 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.003992, allocations: 3.984 kB / 269.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.004007, allocations: 8 kB / 269.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.004013, allocations: 0 / 269.7 MB, free: 76 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.055e-05/0.004083, allocations: 105.8 kB / 269.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.004098, allocations: 7.938 kB / 269.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.004181, allocations: 49.38 kB / 269.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.004184, allocations: 0 / 269.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.004188, allocations: 3.938 kB / 269.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.004193, allocations: 3.984 kB / 269.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.004282, allocations: 85.78 kB / 269.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.004283, allocations: 0 / 269.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.004312, allocations: 8 kB / 269.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004318, allocations: 4 kB / 269.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004319, allocations: 0 / 269.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.004327, allocations: 0 / 269.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.00433, allocations: 3.984 kB / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.004332, allocations: 7.938 kB / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.004411, allocations: 139.7 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.00442, allocations: 4 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.004444, allocations: 3.938 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.004469, allocations: 7.984 kB / 270.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.004472, allocations: 0 / 270.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.358e-05/0.004485, allocations: 16.78 kB / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004485, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00012/0.004605, allocations: 8 kB / 270.1 MB, free: 15.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001082/0.004713, allocations: 84.41 kB / 270.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.004783, allocations: 32.91 kB / 270.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.00479, allocations: 0 / 270.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.004812, allocations: 21.05 kB / 270.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.004931, allocations: 8 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.005119, allocations: 116.5 kB / 270.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.00515, allocations: 55.36 kB / 270.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.005168, allocations: 0 / 270.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.005204, allocations: 51.38 kB / 270.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005205, allocations: 4 kB / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of Templates: time 0.002004/0.007209, allocations: 487.4 kB / 271 MB, free: 14.67 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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: 2.607694188132882]