Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001032/0.001032, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009555/0.0009555, allocations: 160 kB / 24.99 MB, free: 8.309 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.9299/0.9299, allocations: 177 MB / 205.2 MB, free: 5.594 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.2464/0.2464, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.546e-05, allocations: 2.312 kB / 378.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002018/0.002033, allocations: 1.767 MB / 380.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.003678, allocations: 1.729 MB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.003748, allocations: 0 / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.00399, allocations: 35.77 kB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.004289, allocations: 111.4 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.004445, allocations: 75.61 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.004591, allocations: 123.6 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.004666, allocations: 4 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.004744, allocations: 63.83 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.004835, allocations: 35.89 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.00485, allocations: 4 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.004983, allocations: 107.8 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.005027, allocations: 31.84 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.005066, allocations: 23.92 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.005279, allocations: 159.5 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005281, allocations: 4 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005282, allocations: 0 / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.005285, allocations: 0 / 383.1 MB, free: 14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004133/0.005699, allocations: 467.7 kB / 383.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.00573, allocations: 12.03 kB / 383.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.005777, allocations: 8.891 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005933, allocations: 160.4 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005947, allocations: 384 / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.005965, allocations: 4.375 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.006099, allocations: 112 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006107, allocations: 4.188 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006117, allocations: 4.359 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.006125, allocations: 7.875 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.006169, allocations: 19.98 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.006518, allocations: 295.6 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.006646, allocations: 63.16 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.006677, allocations: 23.62 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.006688, allocations: 0 / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.673e-05/0.006785, allocations: 76.97 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.006786, allocations: 4 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003658/0.007152, allocations: 173.3 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.007188, allocations: 77.11 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.007317, allocations: 220.1 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.007331, allocations: 29.7 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.007381, allocations: 146.9 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007408, allocations: 35.8 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.007443, allocations: 31.38 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.007568, allocations: 0.4923 MB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.007595, allocations: 15.92 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.007644, allocations: 76.75 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.431e-05/0.007708, allocations: 55.41 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007709, allocations: 0 / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001236/0.007833, allocations: 105.5 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007844, allocations: 7.938 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007849, allocations: 0 / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.00786, allocations: 0 / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.007928, allocations: 19.98 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007932, allocations: 0 / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.007961, allocations: 8.062 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.007968, allocations: 8 kB / 385.8 MB, free: 11.03 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 (11): * Single equations (assignments): 11 * 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.284e-05/0.008041, allocations: 159.1 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.008061, allocations: 23.84 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.008217, allocations: 122.3 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008219, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.008222, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008226, allocations: 3.984 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.008507, allocations: 409 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008509, allocations: 4.031 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.008546, allocations: 19.92 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008548, allocations: 0 / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008556, allocations: 4 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008557, allocations: 0 / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008559, allocations: 480 / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.008713, allocations: 271.4 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.008726, allocations: 15.89 kB / 386.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.008746, allocations: 12 kB / 386.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.00879, allocations: 4 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.008818, allocations: 11.98 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.00883, allocations: 11.94 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.008901, allocations: 164 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008901, allocations: 0 / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.009102, allocations: 51.86 kB / 387.1 MB, free: 9.684 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 (11): * Single equations (assignments): 9 * 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.001025/0.01013, allocations: 0.5332 MB / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01025, allocations: 67.53 kB / 387.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01025, allocations: 0 / 387.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.01029, allocations: 35.61 kB / 387.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01052, allocations: 41.5 kB / 387.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.01083, allocations: 221.9 kB / 388 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.01087, allocations: 67.33 kB / 388 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.01091, allocations: 16.64 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.01095, allocations: 24.5 kB / 388.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01095, allocations: 0 / 388.1 MB, free: 8.785 MB / 362.7 MB Notification: Performance of Templates: time 0.003753/0.0147, allocations: 2.659 MB / 390.7 MB, free: 6.148 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0889779520221055]