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.001372/0.001372, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001561/0.001561, allocations: 168.4 kB / 24.91 MB, free: 8.715 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.9119/0.9119, allocations: 177 MB / 205.2 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.1412/0.1412, allocations: 34.87 MB / 296.6 MB, free: 13.38 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 1.302e-06/1.302e-06, allocations: 0 / 325.9 MB, free: 24 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.524e-05, allocations: 2.312 kB / 325.9 MB, free: 20 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001086/0.001101, allocations: 0.5474 MB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.001315, allocations: 95.61 kB / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.001333, allocations: 4 kB / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.001345, allocations: 0 / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.929e-05/0.001364, allocations: 0 / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.001526, allocations: 19.91 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.001582, allocations: 19.92 kB / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.001615, allocations: 0 / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.00166, allocations: 11.98 kB / 326.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.001703, allocations: 4 kB / 326.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.001715, allocations: 0 / 326.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.001816, allocations: 31.95 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.001826, allocations: 0 / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.373e-05/0.00184, allocations: 15.92 kB / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.512e-05/0.001925, allocations: 23.91 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.001929, allocations: 7.984 kB / 326.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00193, allocations: 0 / 326.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.001933, allocations: 0 / 326.7 MB, free: 15.24 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.0002131/0.002147, allocations: 224.7 kB / 326.9 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.002178, allocations: 12.03 kB / 327 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.002199, allocations: 0.9375 kB / 327 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.079e-05/0.00227, allocations: 114.1 kB / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.002277, allocations: 384 / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-06/0.002283, allocations: 4.312 kB / 327.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.002364, allocations: 64.67 kB / 327.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.00237, allocations: 4.188 kB / 327.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.002377, allocations: 384 / 327.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.002382, allocations: 4.375 kB / 327.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.0024, allocations: 15.91 kB / 327.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.002578, allocations: 236.4 kB / 327.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.887e-05/0.002607, allocations: 18.72 kB / 327.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.002627, allocations: 16.84 kB / 327.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.002635, allocations: 0 / 327.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.002652, allocations: 30.56 kB / 327.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.002653, allocations: 4 kB / 327.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001338/0.002787, allocations: 49.62 kB / 327.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.002822, allocations: 55.34 kB / 327.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.25e-05/0.002875, allocations: 102.7 kB / 327.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.002885, allocations: 29.7 kB / 327.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.002918, allocations: 80.14 kB / 327.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.002929, allocations: 19.88 kB / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.002951, allocations: 17.72 kB / 327.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.003016, allocations: 310.8 kB / 328.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.003025, allocations: 4.125 kB / 328.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.00304, allocations: 21.7 kB / 328.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.003073, allocations: 33.62 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.003075, allocations: 4 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.807e-05/0.003123, allocations: 45.62 kB / 328.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003134, allocations: 4 kB / 328.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.003139, allocations: 0 / 328.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.003152, allocations: 4 kB / 328.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.003194, allocations: 7.938 kB / 328.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.003198, allocations: 4 kB / 328.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.003213, allocations: 11.92 kB / 328.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.00322, allocations: 4 kB / 328.2 MB, free: 13.54 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.756e-05/0.003267, allocations: 113.8 kB / 328.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.003282, allocations: 0 / 328.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.00335, allocations: 53.31 kB / 328.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.003351, allocations: 0 / 328.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.003354, allocations: 3.938 kB / 328.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.003356, allocations: 0 / 328.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.725e-05/0.003433, allocations: 73.89 kB / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003434, allocations: 0 / 328.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.003454, allocations: 12 kB / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.003455, allocations: 0 / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.003459, allocations: 192 / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.00346, allocations: 4 kB / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.003462, allocations: 0 / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.596e-05/0.003528, allocations: 143.5 kB / 328.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.003535, allocations: 4 kB / 328.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.003543, allocations: 7.984 kB / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.003566, allocations: 0 / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.003588, allocations: 3.938 kB / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.003591, allocations: 11.94 kB / 328.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.736e-06/0.0036, allocations: 8.797 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0036, allocations: 0 / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.003721, allocations: 4 kB / 328.7 MB, free: 13.05 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 8.773e-05/0.003809, allocations: 84.41 kB / 328.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.244e-05/0.003861, allocations: 21.09 kB / 328.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.003864, allocations: 0 / 328.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.003882, allocations: 20.78 kB / 328.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.914e-05/0.003981, allocations: 4.156 kB / 328.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001617/0.004143, allocations: 112.7 kB / 328.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.124e-05/0.004174, allocations: 59.34 kB / 329 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.551e-05/0.004189, allocations: 0 / 329 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.004225, allocations: 51.38 kB / 329 MB, free: 12.64 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004226, allocations: 0 / 329 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Templates: time 0.001815/0.00604, allocations: 0.5404 MB / 329.6 MB, free: 12.11 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 -s gbode -gbm=radauIIA3 -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.8329956620000303]