Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009314/0.0009314, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.000919/0.000919, allocations: 170.9 kB / 24.82 MB, free: 9.32 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.9802/0.9802, allocations: 177 MB / 205.1 MB, free: 5.477 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.2847/0.2847, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.765e-05, allocations: 6.25 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002188/0.002206, allocations: 1.755 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003622, allocations: 1.011 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.003688, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.003923, allocations: 39.72 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.004157, allocations: 99.47 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.004285, allocations: 83.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004413, allocations: 111.7 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.00449, allocations: 8 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.004565, allocations: 47.78 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.004631, allocations: 31.89 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004646, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.004714, allocations: 43.92 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.004756, allocations: 23.92 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.004789, allocations: 19.92 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.00493, allocations: 103.6 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004931, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004932, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004935, allocations: 4 kB / 382.7 MB, free: 14.34 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.0003625/0.005298, allocations: 447.8 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.00533, allocations: 12.03 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.005361, allocations: 12.84 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.005482, allocations: 153.1 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.005495, allocations: 4.375 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.00551, allocations: 4.359 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.005599, allocations: 62.94 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005607, allocations: 192 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.005613, allocations: 384 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005618, allocations: 7.938 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.005645, allocations: 11.94 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.00585, allocations: 268.3 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.005925, allocations: 43.11 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.005946, allocations: 19.75 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.005959, allocations: 0 / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/0.006037, allocations: 68.97 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.006037, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002676/0.006305, allocations: 145.4 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.00633, allocations: 59.41 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.006437, allocations: 230.3 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.006447, allocations: 25.7 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.006494, allocations: 146.9 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.006519, allocations: 31.77 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.006548, allocations: 27.38 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.006649, allocations: 0.4962 MB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.006664, allocations: 11.98 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.006689, allocations: 31.36 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.00673, allocations: 47.3 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006731, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.88e-05/0.00682, allocations: 97.45 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.00683, allocations: 7.984 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006834, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006845, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.006896, allocations: 16 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.006898, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.006922, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.006929, allocations: 11.98 kB / 385.1 MB, free: 11.67 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 5.956e-05/0.006989, allocations: 160.6 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.007006, allocations: 23.84 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.00712, allocations: 99.06 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007122, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.007123, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007126, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.007351, allocations: 361.6 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007352, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.007375, allocations: 15.92 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007377, allocations: 4.031 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007383, allocations: 7.938 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007383, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007384, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007501, allocations: 255.4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.007511, allocations: 11.95 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.007523, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.00756, allocations: 3.984 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.00758, allocations: 4.375 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.007592, allocations: 11.98 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.007649, allocations: 167.1 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007649, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.007808, allocations: 23.94 kB / 386.3 MB, free: 10.46 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.0007913/0.008599, allocations: 439.6 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.481e-05/0.008674, allocations: 43.61 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008675, allocations: 0 / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.008707, allocations: 35.59 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.008908, allocations: 35.98 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.00917, allocations: 218 kB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.009211, allocations: 63.34 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.009243, allocations: 17.27 kB / 387.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.009305, allocations: 94.19 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009306, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003344/0.01265, allocations: 2.044 MB / 389.2 MB, free: 7.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 2.988534227013588]