Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009663/0.0009663, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001124/0.001124, allocations: 168.7 kB / 24.99 MB, free: 8.793 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.9439/0.9439, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2475/0.2475, allocations: 34.26 MB / 296 MB, free: 0.8008 MB / 266.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 378 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.193e-05, allocations: 6.25 kB / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001246/0.001278, allocations: 0.5087 MB / 378.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.001512, allocations: 99.66 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.001535, allocations: 0 / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.00155, allocations: 0 / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.876e-05/0.001569, allocations: 4 kB / 378.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.001755, allocations: 19.91 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.00181, allocations: 11.98 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.001848, allocations: 4 kB / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.001885, allocations: 3.984 kB / 378.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.001923, allocations: 4 kB / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.001936, allocations: 0 / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.002001, allocations: 31.97 kB / 378.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.002018, allocations: 15.91 kB / 378.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.002033, allocations: 4 kB / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.874e-05/0.002122, allocations: 23.91 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002124, allocations: 0 / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.002125, allocations: 0 / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.002128, allocations: 0 / 378.7 MB, free: 2.297 MB / 346.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.0003076/0.002436, allocations: 356.3 kB / 379.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00247, allocations: 8.031 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.002503, allocations: 9.234 kB / 379.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.002583, allocations: 120.5 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.002594, allocations: 4.375 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.002602, allocations: 384 / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.00271, allocations: 74.31 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002716, allocations: 192 / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.002724, allocations: 384 / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.002731, allocations: 4.312 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.002756, allocations: 15.88 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.003006, allocations: 374.7 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.003045, allocations: 27.2 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.003074, allocations: 27.67 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.003085, allocations: 0 / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.003105, allocations: 37.33 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003105, allocations: 0 / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000154/0.003259, allocations: 53.62 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.003293, allocations: 55.41 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.003373, allocations: 149.9 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.003384, allocations: 25.7 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.003435, allocations: 142.9 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.003448, allocations: 15.84 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.003475, allocations: 23.38 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.00357, allocations: 492.1 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.003584, allocations: 7.984 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.003604, allocations: 31.31 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.003639, allocations: 27.38 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00364, allocations: 0 / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.381e-05/0.003714, allocations: 57.62 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003726, allocations: 7.984 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.003733, allocations: 7.969 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.003745, allocations: 0 / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.0038, allocations: 8.125 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.003805, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.003819, allocations: 8 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.003824, allocations: 0 / 380.8 MB, free: 15.93 MB / 362.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 5.404e-05/0.003878, allocations: 160.6 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.003891, allocations: 3.953 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.003985, allocations: 69.23 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.003987, allocations: 0 / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.003989, allocations: 4 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.003992, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.593e-05/0.004078, allocations: 116.6 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004079, allocations: 0 / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.0041, allocations: 8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004102, allocations: 3.984 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.004107, allocations: 0 / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.00411, allocations: 7.938 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00411, allocations: 0 / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/0.004196, allocations: 200.1 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.004202, allocations: 11.98 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.004211, allocations: 4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.004236, allocations: 3.938 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.004262, allocations: 4 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.004264, allocations: 0 / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.004294, allocations: 123.2 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.004294, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.00444, allocations: 8 kB / 381.6 MB, free: 15.15 MB / 362.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 9.466e-05/0.004534, allocations: 103.2 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.004609, allocations: 35.83 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.004611, allocations: 4 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.00463, allocations: 19.69 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.004773, allocations: 2.578 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.004959, allocations: 130.2 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.004991, allocations: 59.34 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.00501, allocations: 4.062 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.005028, allocations: 12.5 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.005029, allocations: 0 / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Templates: time 0.001808/0.006837, allocations: 484 kB / 382.4 MB, free: 14.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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: 2.928600762039423]