Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.0009994/0.0009994, 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.001225/0.001225, 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 1.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.566 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.277/0.277, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.238e-05, allocations: 3.156 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002281/0.002304, allocations: 1.775 MB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.00353, allocations: 1.009 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.003606, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.003918, allocations: 39.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.004259, allocations: 99.48 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004451, allocations: 83.59 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.004623, allocations: 107.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.004718, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/0.00481, allocations: 59.77 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.004884, allocations: 27.91 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004899, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.177e-05/0.004981, allocations: 43.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.00503, allocations: 19.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.005069, allocations: 19.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.005244, allocations: 107.5 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005246, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005247, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005252, allocations: 3.984 kB / 382.2 MB, free: 14.58 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.000461/0.005713, allocations: 435.9 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.005747, allocations: 12.03 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.005792, allocations: 8.891 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.005954, allocations: 150.6 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.005976, allocations: 12.36 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.005995, allocations: 384 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.006121, allocations: 70.86 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006131, allocations: 4.188 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.006141, allocations: 384 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.006149, allocations: 3.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.006181, allocations: 11.98 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.006461, allocations: 283.8 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.006567, allocations: 51.11 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.006597, allocations: 23.67 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.00661, allocations: 3.938 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.00671, allocations: 72.98 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006711, allocations: 0 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003813/0.007092, allocations: 157.3 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.007127, allocations: 51.41 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.007258, allocations: 226.6 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.007274, allocations: 33.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.007333, allocations: 150.9 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.007361, allocations: 23.8 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.007395, allocations: 31.36 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.007519, allocations: 0.4923 MB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.007543, allocations: 16 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-05/0.007577, allocations: 35.3 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.007635, allocations: 51.36 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007636, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001071/0.007743, allocations: 97.45 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007756, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007761, allocations: 384 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.007777, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.007846, allocations: 15.98 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.007852, allocations: 4.031 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.00788, allocations: 12 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.007885, allocations: 0 / 384.7 MB, free: 11.85 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 7.327e-05/0.007959, allocations: 164.5 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.007977, allocations: 15.89 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.008127, allocations: 107.1 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.008129, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.008134, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.008138, allocations: 0 / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.008433, allocations: 396.9 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008434, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.008459, allocations: 11.98 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.008463, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.00847, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008472, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008472, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.008617, allocations: 263.4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.008628, allocations: 11.91 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.008647, allocations: 7.984 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.008684, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.00872, allocations: 16.02 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.008732, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.008805, allocations: 163.9 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008805, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.008971, allocations: 23.94 kB / 385.9 MB, free: 10.6 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.000886/0.009857, allocations: 443.1 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.009977, allocations: 47.61 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009978, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.01002, allocations: 43.61 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01024, allocations: 30.16 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.01058, allocations: 214.3 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.912e-05/0.01063, allocations: 71.28 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.01066, allocations: 17.27 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.0107, allocations: 16.5 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0107, allocations: 64 / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of Templates: time 0.00384/0.01454, allocations: 1.992 MB / 388.8 MB, free: 7.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.9991535800509155]