Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.002214/0.002214, allocations: 95.61 kB / 20.96 MB, free: 3.438 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.002505/0.002505, allocations: 156.9 kB / 24.27 MB, free: 140 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.563/1.563, allocations: 177 MB / 204.5 MB, free: 5.605 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.4013/0.4013, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.401e-05, allocations: 3.438 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003871/0.003905, allocations: 1.765 MB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006053, allocations: 1.009 MB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.006141, allocations: 4 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.006571, allocations: 107.6 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.006981, allocations: 135.4 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.007242, allocations: 79.61 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.007486, allocations: 139.6 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.007596, allocations: 21.5 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.007738, allocations: 71.81 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.007884, allocations: 71.84 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.00791, allocations: 4 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.008071, allocations: 67.84 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.008156, allocations: 39.86 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.008217, allocations: 27.84 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.008545, allocations: 163.4 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.008549, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00855, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008556, allocations: 0 / 381 MB, free: 15.09 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001009/0.009565, allocations: 495.2 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.009612, allocations: 12.03 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.009693, allocations: 20.84 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.01001, allocations: 165.3 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.01004, allocations: 8.375 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.01006, allocations: 4.375 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.01025, allocations: 70.16 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01027, allocations: 8.188 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.01028, allocations: 384 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.01029, allocations: 7.938 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.01041, allocations: 31.91 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.01099, allocations: 343.6 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.0113, allocations: 79.03 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.01138, allocations: 43.59 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.0114, allocations: 3.938 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.01158, allocations: 81.03 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.01158, allocations: 0 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001006/0.01259, allocations: 309.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.01264, allocations: 51.41 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.013, allocations: 294.8 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.01303, allocations: 33.69 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.01318, allocations: 171 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.01325, allocations: 51.62 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.01333, allocations: 43.38 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.01364, allocations: 0.5157 MB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.01373, allocations: 35.98 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.01386, allocations: 67.23 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.01406, allocations: 106.1 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01406, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003179/0.01438, allocations: 169.6 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.01439, allocations: 11.94 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0144, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01441, allocations: 4.031 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01452, allocations: 27.98 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01453, allocations: 0 / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.01458, allocations: 8 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01459, allocations: 4 kB / 384.2 MB, free: 11.64 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 (16): * Single equations (assignments): 16 * 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.0001685/0.01476, allocations: 172.5 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.0148, allocations: 19.91 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.01523, allocations: 193.1 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01523, allocations: 4 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01524, allocations: 0 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.01524, allocations: 7.984 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.01606, allocations: 0.5239 MB / 385.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.01606, allocations: 4 kB / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.01614, allocations: 19.98 kB / 385.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.01615, allocations: 8 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.01616, allocations: 4 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/0.01617, allocations: 11.88 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01617, allocations: 0 / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.01662, allocations: 331.2 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.01665, allocations: 19.91 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.01668, allocations: 11.94 kB / 385.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.01677, allocations: 7.984 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.01681, allocations: 7.984 kB / 385.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.01684, allocations: 8 kB / 385.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.01704, allocations: 209.4 kB / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01704, allocations: 0 / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01732, allocations: 35.92 kB / 385.8 MB, free: 9.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.003808/0.02113, allocations: 0.5368 MB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.02143, allocations: 111 kB / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02143, allocations: 0 / 386.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.02158, allocations: 67.59 kB / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.02197, allocations: 43.91 kB / 386.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.02265, allocations: 333.7 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.02281, allocations: 123.5 kB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.034e-05/0.02288, allocations: 25.47 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.02293, allocations: 20.5 kB / 387 MB, free: 8.863 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02293, allocations: 0 / 387 MB, free: 8.863 MB / 362.7 MB Notification: Performance of Templates: time 0.006859/0.02979, allocations: 2.341 MB / 389.4 MB, free: 6.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.0359608810395]