Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009475/0.0009475, allocations: 81.81 kB / 21.42 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.0009721/0.0009721, allocations: 164.8 kB / 24.82 MB, free: 9.27 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.9205/0.9205, allocations: 177 MB / 205.1 MB, free: 5.457 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.2435/0.2435, allocations: 34.85 MB / 296.6 MB, free: 0.5234 MB / 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.903e-05, allocations: 6.953 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002149/0.002168, allocations: 1.769 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003346, allocations: 1.001 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.003423, allocations: 0 / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.003697, allocations: 43.66 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.003941, allocations: 99.53 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.004086, allocations: 83.59 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.004228, allocations: 111.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.004313, allocations: 4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.004397, allocations: 59.77 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.004461, allocations: 27.91 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004476, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.004557, allocations: 43.92 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.004603, allocations: 23.92 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.004636, allocations: 19.92 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.004786, allocations: 107.6 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004788, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004789, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.004792, allocations: 0 / 382.7 MB, free: 14.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000384/0.005176, allocations: 443.8 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.005217, allocations: 8.031 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.005257, allocations: 24.83 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.005397, allocations: 153.1 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.005411, allocations: 384 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.005427, allocations: 4.375 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.00553, allocations: 62.94 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005539, allocations: 192 / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.005547, allocations: 4.375 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005553, allocations: 3.938 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.005578, allocations: 11.92 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.005797, allocations: 264.4 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.005874, allocations: 43.17 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.005895, allocations: 15.67 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.005913, allocations: 8 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.497e-05/0.005998, allocations: 72.97 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.005999, allocations: 0 / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002841/0.006283, allocations: 133.4 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.006307, allocations: 51.41 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.00642, allocations: 234.2 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.006434, allocations: 29.7 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.006497, allocations: 154.8 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.006523, allocations: 23.78 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.006556, allocations: 31.36 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006669, allocations: 0.5001 MB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.006683, allocations: 8 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.006708, allocations: 31.36 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.006751, allocations: 47.3 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006753, allocations: 3.984 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.465e-05/0.006837, allocations: 89.84 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006847, allocations: 4 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006851, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006862, allocations: 4 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.006918, allocations: 16 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.006922, allocations: 8.016 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.006949, allocations: 4 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.006953, allocations: 0 / 385.1 MB, free: 11.66 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 (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 6.727e-05/0.00702, allocations: 164.6 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.007037, allocations: 19.84 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.007157, allocations: 103.1 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007159, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007161, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007165, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.007413, allocations: 365.6 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007415, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.007439, allocations: 11.94 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00744, allocations: 4 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.007445, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.007446, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.007448, allocations: 4 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.007577, allocations: 251.4 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.007589, allocations: 11.94 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.007605, allocations: 7.984 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.007645, allocations: 4.031 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.007674, allocations: 11.98 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.007687, allocations: 7.938 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.589e-05/0.007753, allocations: 159.1 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007753, allocations: 0 / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.007919, allocations: 27.92 kB / 386.3 MB, free: 10.45 MB / 362.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.0008318/0.008751, allocations: 433.5 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.008859, allocations: 47.55 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00886, allocations: 64 / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.008904, allocations: 39.59 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.009116, allocations: 39.86 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.009453, allocations: 210 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.009497, allocations: 71.33 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.009532, allocations: 13.28 kB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.009599, allocations: 90.19 kB / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009599, allocations: 4.062 kB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of Templates: time 0.003455/0.01305, allocations: 2.037 MB / 389.2 MB, free: 7.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.9175847666338086]