Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.00096/0.00096, allocations: 88.86 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.001144/0.001144, allocations: 164.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.9546/0.9546, allocations: 177 MB / 205.2 MB, free: 5.062 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.2699/0.2699, allocations: 34.86 MB / 296.6 MB, free: 476 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.947e-05, allocations: 5.406 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002253/0.002272, allocations: 1.771 MB / 327.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.00382, allocations: 1.006 MB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.003888, allocations: 0 / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.004159, allocations: 47.7 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.004409, allocations: 107.5 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.004559, allocations: 75.61 kB / 329 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.0047, allocations: 104.4 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.004777, allocations: 15.97 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.00486, allocations: 59.77 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.004929, allocations: 23.92 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.004943, allocations: 4 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.005019, allocations: 47.91 kB / 329.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.005066, allocations: 27.86 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.005098, allocations: 23.92 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.005247, allocations: 107.6 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005249, allocations: 0 / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00525, allocations: 0 / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005253, allocations: 4 kB / 329.4 MB, free: 3.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003729/0.005626, allocations: 333.4 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.005656, allocations: 12.03 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.00569, allocations: 12.92 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005834, allocations: 150.4 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.005847, allocations: 4.375 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.005865, allocations: 384 / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.005964, allocations: 69.7 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.005972, allocations: 192 / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.00598, allocations: 4.359 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.005986, allocations: 7.938 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.00601, allocations: 8 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.0062, allocations: 165.9 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.006284, allocations: 85.28 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.006305, allocations: 16.92 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006316, allocations: 0 / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.767e-05/0.006403, allocations: 66.14 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.006404, allocations: 0 / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002663/0.006671, allocations: 121.4 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006699, allocations: 55.41 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.006808, allocations: 197.6 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.006824, allocations: 29.7 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.006855, allocations: 96.06 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.00688, allocations: 31.77 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.006907, allocations: 21.72 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.006983, allocations: 330.8 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006998, allocations: 6.828 kB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.00702, allocations: 29.64 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.007061, allocations: 48.45 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.007062, allocations: 4 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.855e-05/0.00713, allocations: 72.42 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007142, allocations: 9.031 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007146, allocations: 0 / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.007157, allocations: 0 / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.007214, allocations: 19.98 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.007216, allocations: 4.375 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.00724, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007247, allocations: 4 kB / 331.4 MB, free: 1.5 MB / 298.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.007e-05/0.007337, allocations: 120.7 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.00735, allocations: 15.92 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.696e-05/0.007447, allocations: 79.08 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00745, allocations: 3.984 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007451, allocations: 0 / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007455, allocations: 0 / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.00766, allocations: 287.5 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007663, allocations: 3.938 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.007684, allocations: 8 kB / 331.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.007689, allocations: 15.95 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007695, allocations: 4 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007696, allocations: 240 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007696, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/0.007791, allocations: 211.1 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.007802, allocations: 19.78 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.007818, allocations: 7.984 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.007856, allocations: 4 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.007879, allocations: 7.984 kB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.007888, allocations: 0 / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.007939, allocations: 64.52 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007939, allocations: 4 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.008079, allocations: 27.94 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001206/0.009286, allocations: 0.5668 MB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.009367, allocations: 36.78 kB / 332.9 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.009371, allocations: 4 kB / 332.9 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.0094, allocations: 28.78 kB / 332.9 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.009567, allocations: 31.91 kB / 332.9 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.009868, allocations: 238.5 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.00991, allocations: 71.33 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.009946, allocations: 21.39 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.01001, allocations: 67.36 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01001, allocations: 4 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003654/0.01366, allocations: 2.022 MB / 335.3 MB, free: 13.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.8945071706548333]