Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.0009415/0.0009415, allocations: 85.91 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.001144/0.001144, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.033/1.033, allocations: 177 MB / 205.9 MB, free: 4.453 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.197/0.197, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.426e-05, allocations: 5.469 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003127/0.003161, allocations: 1.706 MB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004679, allocations: 0.9792 MB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.004773, allocations: 4 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.005125, allocations: 67.67 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.00551, allocations: 107.5 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.005711, allocations: 79.59 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.005877, allocations: 107.6 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.005926, allocations: 4.234 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.006031, allocations: 59.81 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.006133, allocations: 43.89 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.006151, allocations: 4 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.006233, allocations: 31.92 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.006287, allocations: 27.86 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.006323, allocations: 15.94 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.006515, allocations: 87.72 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006518, allocations: 0 / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006519, allocations: 0 / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.006524, allocations: 0 / 383.4 MB, free: 19.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004519/0.006976, allocations: 443.8 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.007024, allocations: 12.03 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.007071, allocations: 8.891 kB / 383.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.007263, allocations: 162.4 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.007284, allocations: 384 / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.007296, allocations: 8.375 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.007431, allocations: 54.94 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007441, allocations: 192 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.00745, allocations: 384 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007457, allocations: 3.938 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.00749, allocations: 7.984 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.007632, allocations: 117.2 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.007746, allocations: 43.11 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.007776, allocations: 15.67 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.00779, allocations: 8 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.007902, allocations: 61.03 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.007903, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002061/0.008109, allocations: 85.53 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.008141, allocations: 51.41 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.008283, allocations: 230.8 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.008298, allocations: 29.7 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.008358, allocations: 150.8 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.0084, allocations: 11.94 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.008444, allocations: 31.36 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.008541, allocations: 0.5001 MB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.00856, allocations: 4 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.008591, allocations: 27.36 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.008644, allocations: 35.3 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.008648, allocations: 4 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.008757, allocations: 69.84 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.008771, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.008778, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.008791, allocations: 8.031 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.008854, allocations: 12 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008859, allocations: 3.938 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.008902, allocations: 11.92 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008908, allocations: 0 / 385.6 MB, free: 16.95 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 (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 6.742e-05/0.008975, allocations: 156.6 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.008996, allocations: 19.89 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.009127, allocations: 86.69 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009129, allocations: 4 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009131, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.009137, allocations: 7.938 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.009243, allocations: 117.2 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009244, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.009268, allocations: 4 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009272, allocations: 4 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.009278, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009279, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.009281, allocations: 0 / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.009396, allocations: 120.2 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.009414, allocations: 7.953 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.009437, allocations: 8 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.009471, allocations: 7.984 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.009501, allocations: 4 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.009514, allocations: 0 / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.009563, allocations: 171.1 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009563, allocations: 4 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.009729, allocations: 16 kB / 386.3 MB, free: 16.16 MB / 314.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.001211/0.01094, allocations: 390.8 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01105, allocations: 39.61 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01106, allocations: 0 / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.01109, allocations: 23.66 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.01136, allocations: 23.98 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.01172, allocations: 200 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.01175, allocations: 63.34 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.01179, allocations: 20.45 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.01186, allocations: 86.19 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01186, allocations: 0 / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of Templates: time 0.003962/0.01582, allocations: 1.814 MB / 388.9 MB, free: 13.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.4188206903636456]