Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001409/0.001409, allocations: 84.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.0016/0.0016, allocations: 160.2 kB / 24.91 MB, free: 8.766 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 1.056/1.056, allocations: 177 MB / 205.2 MB, free: 5.066 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.3055/0.3055, allocations: 34.86 MB / 296.6 MB, free: 412 kB / 266.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.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.443e-05, allocations: 7.594 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003159/0.003184, allocations: 1.998 MB / 328 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004552, allocations: 1.052 MB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.004643, allocations: 0 / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.004927, allocations: 39.66 kB / 329.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.005203, allocations: 99.42 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.005404, allocations: 99.56 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.00558, allocations: 148.3 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.005677, allocations: 30.38 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.00578, allocations: 79.75 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.005863, allocations: 35.89 kB / 329.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.005884, allocations: 8 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.00626, allocations: 47.92 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.006312, allocations: 35.83 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.006352, allocations: 27.88 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.006533, allocations: 135.4 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006535, allocations: 0 / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006536, allocations: 0 / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.006539, allocations: 0 / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000412/0.006951, allocations: 375.1 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.006981, allocations: 12.03 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.007017, allocations: 16.92 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.007191, allocations: 166.3 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007207, allocations: 8.312 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.007227, allocations: 12.33 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.007376, allocations: 130 kB / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.007385, allocations: 192 / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.007395, allocations: 4.375 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.007403, allocations: 7.938 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.00744, allocations: 26.75 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.007757, allocations: 374.1 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.007924, allocations: 105.2 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.007959, allocations: 32.77 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.00797, allocations: 0 / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.008073, allocations: 87.92 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.008074, allocations: 3.984 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001271/0.008201, allocations: 83.38 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.008225, allocations: 55.41 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.00834, allocations: 193.5 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.008354, allocations: 25.7 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.008403, allocations: 108 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.008422, allocations: 27.83 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.008456, allocations: 25.7 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.008535, allocations: 330.8 kB / 332 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.008553, allocations: 10.83 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.008594, allocations: 49.03 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.008655, allocations: 73.84 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008657, allocations: 0 / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.398e-05/0.008751, allocations: 95.86 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008764, allocations: 8 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008768, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008783, allocations: 4.125 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.008848, allocations: 23.94 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008853, allocations: 7.984 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.008887, allocations: 11.89 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.008894, allocations: 8 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.416e-05/0.008958, allocations: 121.7 kB / 332.4 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.008972, allocations: 11.92 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.666e-05/0.009069, allocations: 79.12 kB / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.009071, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.009072, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009076, allocations: 4 kB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.609e-05/0.009162, allocations: 101.7 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009164, allocations: 4 kB / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.009211, allocations: 15.94 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.009214, allocations: 3.938 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.009224, allocations: 15.92 kB / 332.7 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.009225, allocations: 0 / 332.7 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009225, allocations: 0 / 332.7 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.009351, allocations: 114.7 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.009364, allocations: 11.91 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.00938, allocations: 11.95 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.426e-05/0.009405, allocations: 4 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.009434, allocations: 11.98 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.009444, allocations: 0 / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.009488, allocations: 56.53 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009488, allocations: 0 / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001238/0.009612, allocations: 27.98 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001066/0.01068, allocations: 498.3 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.01078, allocations: 64.2 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01078, allocations: 0 / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.01082, allocations: 24.84 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.01096, allocations: 32.34 kB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.0113, allocations: 261.8 kB / 333.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.01133, allocations: 67.84 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.115e-05/0.01137, allocations: 17.73 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.01145, allocations: 79.34 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01145, allocations: 0 / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of Templates: time 0.00383/0.01528, allocations: 2.204 MB / 336.1 MB, free: 12.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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: 3.1443202579393983]