Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000982/0.000982, allocations: 161 kB / 24.82 MB, free: 8.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8851/0.8851, allocations: 177 MB / 205.1 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1374/0.1374, allocations: 34.88 MB / 296.6 MB, free: 13.31 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 379.2 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.815e-05, allocations: 3.297 kB / 379.2 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001264/0.001292, allocations: 0.5036 MB / 379.7 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.001501, allocations: 99.66 kB / 379.8 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.001527, allocations: 4 kB / 379.8 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.001542, allocations: 3.938 kB / 379.8 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.136e-05/0.001563, allocations: 0 / 379.8 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.001729, allocations: 15.97 kB / 379.8 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.001771, allocations: 7.938 kB / 379.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.001807, allocations: 7.984 kB / 379.8 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.001848, allocations: 12 kB / 379.8 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.001887, allocations: 3.984 kB / 379.9 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.001901, allocations: 0 / 379.9 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.001963, allocations: 31.91 kB / 379.9 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.001976, allocations: 3.984 kB / 379.9 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.001987, allocations: 11.94 kB / 379.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.626e-05/0.002064, allocations: 27.89 kB / 379.9 MB, free: 22.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002066, allocations: 0 / 379.9 MB, free: 22.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002066, allocations: 0 / 379.9 MB, free: 22.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.002069, allocations: 0 / 379.9 MB, free: 22.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002668/0.002336, allocations: 356.3 kB / 380.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.002376, allocations: 12.03 kB / 380.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.002404, allocations: 5.281 kB / 380.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.552e-05/0.00246, allocations: 112.5 kB / 380.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.002471, allocations: 4.375 kB / 380.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.002477, allocations: 384 / 380.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.002575, allocations: 74.33 kB / 380.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.002583, allocations: 4.125 kB / 380.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.002589, allocations: 384 / 380.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.002595, allocations: 384 / 380.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.002619, allocations: 19.92 kB / 380.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.002808, allocations: 355.4 kB / 380.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.002845, allocations: 31 kB / 380.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.002867, allocations: 11.69 kB / 380.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.002884, allocations: 4 kB / 380.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.0029, allocations: 37.39 kB / 380.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.002901, allocations: 3.938 kB / 380.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001387/0.00304, allocations: 49.72 kB / 381 MB, free: 20.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.00306, allocations: 55.39 kB / 381 MB, free: 20.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.003112, allocations: 165.9 kB / 381.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.003117, allocations: 25.7 kB / 381.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.003146, allocations: 130.8 kB / 381.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.003156, allocations: 11.89 kB / 381.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.003187, allocations: 27.36 kB / 381.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.003233, allocations: 496.1 kB / 381.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.003246, allocations: 0 / 381.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.003267, allocations: 23.38 kB / 381.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.003306, allocations: 35.34 kB / 381.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003308, allocations: 128 / 381.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.3e-05/0.003381, allocations: 53.62 kB / 382 MB, free: 19.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.003394, allocations: 4 kB / 382 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003399, allocations: 4 kB / 382 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.003413, allocations: 4.172 kB / 382 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.00347, allocations: 4 kB / 382 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.003473, allocations: 4 kB / 382 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.003493, allocations: 7.938 kB / 382 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.003499, allocations: 0 / 382 MB, free: 19.71 MB / 314.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 4.584e-05/0.003545, allocations: 164.5 kB / 382.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.003568, allocations: 8.016 kB / 382.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.00366, allocations: 57.38 kB / 382.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.003663, allocations: 3.938 kB / 382.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.003664, allocations: 0 / 382.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.003667, allocations: 0 / 382.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.00377, allocations: 101.4 kB / 382.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.003773, allocations: 4 kB / 382.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.003812, allocations: 11.98 kB / 382.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.003814, allocations: 0 / 382.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.00382, allocations: 0 / 382.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.003821, allocations: 3.984 kB / 382.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.003822, allocations: 11.94 kB / 382.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.003917, allocations: 199.9 kB / 382.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.003923, allocations: 3.938 kB / 382.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.003932, allocations: 8 kB / 382.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.003979, allocations: 0 / 382.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.004004, allocations: 3.984 kB / 382.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.004009, allocations: 3.938 kB / 382.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.004026, allocations: 123.2 kB / 382.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004027, allocations: 0 / 382.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000251/0.004278, allocations: 4 kB / 382.7 MB, free: 18.95 MB / 314.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.0001093/0.004387, allocations: 103.3 kB / 382.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.004471, allocations: 27.61 kB / 382.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.004474, allocations: 4 kB / 382.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.004495, allocations: 15.69 kB / 382.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.004725, allocations: 7.984 kB / 382.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.004945, allocations: 116.1 kB / 383 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.004978, allocations: 63.16 kB / 383 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.005006, allocations: 8.062 kB / 383 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.005043, allocations: 70.2 kB / 383.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005043, allocations: 0 / 383.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of Templates: time 0.002389/0.007432, allocations: 0.5394 MB / 383.7 MB, free: 17.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.6132288589142263]