Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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: 95.5 kB / 21.2 MB, free: 3.371 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.0009153/0.0009153, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9611/0.9611, allocations: 177 MB / 204.8 MB, free: 5.574 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.2852/0.2852, allocations: 34.86 MB / 296.3 MB, free: 484 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.043e-05, allocations: 6.25 kB / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00307/0.003101, allocations: 1.713 MB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.00455, allocations: 1.009 MB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.004631, allocations: 0 / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.004959, allocations: 63.73 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.005309, allocations: 107.5 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.005518, allocations: 79.55 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005707, allocations: 111.7 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.005745, allocations: 240 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.005846, allocations: 67.75 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.005945, allocations: 39.91 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.00596, allocations: 0 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.006045, allocations: 39.91 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.006096, allocations: 19.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.006133, allocations: 11.94 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.006321, allocations: 99.59 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006324, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006325, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.00633, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004916/0.006822, allocations: 439.9 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.006859, allocations: 8.031 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.006915, allocations: 16.84 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.007099, allocations: 149.1 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.007117, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.007128, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.007254, allocations: 66.88 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.007262, allocations: 192 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.007272, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.007281, allocations: 11.92 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.007314, allocations: 7.984 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.007469, allocations: 140.7 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.007585, allocations: 47.11 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.007616, allocations: 11.69 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.007627, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.007735, allocations: 68.98 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.007736, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002115/0.007948, allocations: 93.58 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.007981, allocations: 55.34 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.008132, allocations: 230.4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.008148, allocations: 33.7 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.008205, allocations: 146.9 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.008237, allocations: 19.84 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.008274, allocations: 27.31 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.008401, allocations: 0.4962 MB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.008429, allocations: 7.984 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.008461, allocations: 23.38 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/0.008525, allocations: 51.3 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008527, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001131/0.00864, allocations: 69.58 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008655, allocations: 8 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.008659, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008673, allocations: 320 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.008745, allocations: 11.94 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.008751, allocations: 4 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.008787, allocations: 7.953 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.008796, allocations: 7.984 kB / 384.4 MB, free: 12.16 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: 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 (7): * Single equations (assignments): 7 * 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 8.376e-05/0.00888, allocations: 164.5 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.008898, allocations: 11.95 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.009044, allocations: 82.83 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.009047, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009052, allocations: 3.938 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009055, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.009164, allocations: 140.6 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009166, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.009194, allocations: 7.984 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009196, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.009205, allocations: 8 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009207, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009209, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.009341, allocations: 128.2 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.009357, allocations: 3.953 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.009378, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.009415, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.009452, allocations: 11.92 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.009463, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.078e-05/0.009554, allocations: 167.2 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009554, allocations: 0 / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.009769, allocations: 23.94 kB / 385.2 MB, free: 11.34 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: 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 (6): * Single equations (assignments): 4 * 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.0009437/0.01071, allocations: 379.5 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01085, allocations: 51.61 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01085, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.01089, allocations: 19.69 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01113, allocations: 35.91 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.01151, allocations: 202.1 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.01155, allocations: 63.34 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.01159, allocations: 12.47 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.01162, allocations: 16.56 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01162, allocations: 4 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004648/0.01627, allocations: 1.751 MB / 387.7 MB, free: 8.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.0338367968797684]