Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.00152/0.00152, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001621/0.001621, allocations: 160.9 kB / 24.26 MB, free: 148 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.54/1.54, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3579/0.3579, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.077e-05/6.377e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.006906/0.00697, allocations: 1.725 MB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.01269, allocations: 1.683 MB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.01282, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.01335, allocations: 43.64 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.01416, allocations: 103.5 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.01462, allocations: 83.61 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.01499, allocations: 103.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.01514, allocations: 11.98 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.01537, allocations: 63.77 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.01558, allocations: 31.89 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.01562, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.016, allocations: 103.9 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.0161, allocations: 15.92 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.01619, allocations: 23.92 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.0168, allocations: 183.3 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.01681, allocations: 4 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01681, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01681, allocations: 0 / 381.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001058/0.01787, allocations: 353.5 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.01792, allocations: 11.97 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.01803, allocations: 8.891 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.01852, allocations: 154.1 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.01855, allocations: 384 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.01859, allocations: 4.375 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.01893, allocations: 101.6 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.01895, allocations: 11.94 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.01897, allocations: 0 / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01897, allocations: 0 / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.0191, allocations: 19.98 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.01973, allocations: 236.5 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.02005, allocations: 50.67 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.02018, allocations: 28.77 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.02021, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.02049, allocations: 71.33 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.0205, allocations: 4 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001105/0.0216, allocations: 181.4 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.0217, allocations: 81.05 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.02208, allocations: 174.3 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.02213, allocations: 29.7 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.02225, allocations: 96.12 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.02231, allocations: 23.8 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02242, allocations: 25.7 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.02271, allocations: 326.8 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.02284, allocations: 23.98 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.02304, allocations: 72.27 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.02334, allocations: 65.58 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.02334, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004386/0.02378, allocations: 101.6 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.02381, allocations: 4 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02381, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/0.02385, allocations: 4 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.02403, allocations: 23.98 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.02404, allocations: 160 / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.02415, allocations: 8 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.02417, allocations: 7.922 kB / 383.7 MB, free: 12.14 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 0.0002108/0.02438, allocations: 125.8 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.02445, allocations: 15.95 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.02496, allocations: 118.8 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02497, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.02497, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02498, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.02593, allocations: 354.9 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.02593, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/0.02603, allocations: 15.98 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.02603, allocations: 0 / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.02606, allocations: 0 / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.02607, allocations: 4 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02607, allocations: 3.938 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.02666, allocations: 220.2 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.0267, allocations: 11.94 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.02674, allocations: 32 / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.02691, allocations: 12 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.02698, allocations: 7.984 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.02701, allocations: 4 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.02725, allocations: 127.2 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02725, allocations: 0 / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006292/0.02788, allocations: 51.86 kB / 384.8 MB, free: 11.01 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.004355/0.03224, allocations: 0.5809 MB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.03263, allocations: 63.91 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.03263, allocations: 0 / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.03278, allocations: 27.92 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.03348, allocations: 34.78 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.03431, allocations: 209.4 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.03446, allocations: 89.58 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.519e-05/0.03455, allocations: 17.28 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.03463, allocations: 20.48 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03463, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.009211/0.04384, allocations: 2.547 MB / 388.3 MB, free: 7.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.080634030047804]