Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001399/0.001399, allocations: 84.25 kB / 22.22 MB, free: 2.285 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.001347/0.001347, allocations: 165.2 kB / 25.61 MB, free: 8.891 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.9853/0.9853, allocations: 177 MB / 205.9 MB, free: 4.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.1742/0.1742, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.578e-05, allocations: 5.516 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002846/0.002882, allocations: 1.752 MB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004227, allocations: 0.9969 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.004298, allocations: 3.938 kB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.004546, allocations: 39.81 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.004812, allocations: 103.4 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.004998, allocations: 75.67 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.005146, allocations: 111.6 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.005218, allocations: 7.984 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.005299, allocations: 55.84 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.005371, allocations: 31.89 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.005386, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.005457, allocations: 43.88 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.005493, allocations: 27.91 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.005518, allocations: 19.92 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.005641, allocations: 99.59 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005644, allocations: 4 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005645, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.00565, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.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.0003332/0.005983, allocations: 447.8 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.006013, allocations: 12.03 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.006046, allocations: 20.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.006156, allocations: 157.3 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.006169, allocations: 384 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.006183, allocations: 4.375 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.006268, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.006288, allocations: 4.172 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006297, allocations: 8.359 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.006304, allocations: 3.938 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.006329, allocations: 4 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.006516, allocations: 268.4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/0.006582, allocations: 51.09 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.006599, allocations: 15.69 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.006608, allocations: 4 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.006677, allocations: 61.05 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006678, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002794/0.006957, allocations: 145.4 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.006979, allocations: 55.34 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.007062, allocations: 245.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.007069, allocations: 29.7 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.007107, allocations: 158.8 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.007128, allocations: 15.86 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.007156, allocations: 35.34 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.007208, allocations: 0.5001 MB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.007223, allocations: 8 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.007252, allocations: 27.36 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.00729, allocations: 55.34 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007291, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.377e-05/0.007364, allocations: 89.53 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.007374, allocations: 8 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.007377, allocations: 384 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.007385, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.007436, allocations: 19.94 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.007439, allocations: 3.984 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.007463, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.007469, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.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 4.862e-05/0.007517, allocations: 160.6 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.00753, allocations: 19.92 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.007633, allocations: 99.06 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007635, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007636, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00764, allocations: 0 / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.007819, allocations: 377.5 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.00782, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.00784, allocations: 8 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007842, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.007847, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.007848, allocations: 7.969 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007849, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.007935, allocations: 259.6 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.007945, allocations: 11.94 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007959, allocations: 4 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.007996, allocations: 7.938 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.008016, allocations: 7.984 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.008024, allocations: 0 / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.008065, allocations: 176.2 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008065, allocations: 0 / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.008238, allocations: 23.98 kB / 387.1 MB, free: 15.37 MB / 314.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.0008323/0.00907, allocations: 434.3 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.009166, allocations: 47.59 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.009167, allocations: 0 / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.009197, allocations: 35.59 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.009403, allocations: 31.91 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.009642, allocations: 228 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.58e-05/0.009668, allocations: 71.19 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.009698, allocations: 12.97 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.00975, allocations: 94.19 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009751, allocations: 0 / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Templates: time 0.002929/0.01268, allocations: 2.067 MB / 390.1 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.489136045332998]