Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001341/0.001341, 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.001003/0.001003, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9674/0.9674, allocations: 177 MB / 205.2 MB, free: 5.52 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.2801/0.2801, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.524e-05, allocations: 2.312 kB / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002368/0.002393, allocations: 1.759 MB / 380.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003542, allocations: 1.016 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.003616, allocations: 0 / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.003886, allocations: 39.66 kB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.004167, allocations: 95.53 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.004347, allocations: 79.59 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004526, allocations: 115.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.004614, allocations: 11.97 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.004692, allocations: 51.84 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.004757, allocations: 31.89 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.004773, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.004848, allocations: 43.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.004898, allocations: 15.94 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.004936, allocations: 23.91 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.0051, allocations: 95.61 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005102, allocations: 0 / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005104, allocations: 0 / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005107, allocations: 4 kB / 382.2 MB, free: 14.93 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.000452/0.005559, allocations: 447.8 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.005594, allocations: 8.031 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.005642, allocations: 16.89 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.005804, allocations: 150.6 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.005823, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005841, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.005956, allocations: 62.88 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005965, allocations: 4.188 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.005973, allocations: 384 / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.005981, allocations: 7.938 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.006015, allocations: 15.98 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.006305, allocations: 279.8 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006408, allocations: 63.09 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.006435, allocations: 15.67 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.006447, allocations: 4 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.646e-05/0.006543, allocations: 68.98 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.006544, allocations: 0 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003684/0.006913, allocations: 161.3 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006943, allocations: 55.41 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.007069, allocations: 226.6 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007081, allocations: 25.7 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.007135, allocations: 146.9 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.00716, allocations: 27.78 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.00719, allocations: 27.38 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.007305, allocations: 0.4962 MB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.00733, allocations: 19.86 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.007365, allocations: 35.36 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.38e-05/0.007419, allocations: 47.38 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.00742, allocations: 0 / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.007531, allocations: 101.5 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007545, allocations: 11.98 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007549, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.007561, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.007628, allocations: 12 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.007634, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.00766, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.007667, allocations: 16.33 kB / 384.7 MB, free: 12.19 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 6.893e-05/0.007736, allocations: 163.2 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.007751, allocations: 11.89 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.007893, allocations: 107.1 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007895, allocations: 0 / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.007899, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.007904, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.00819, allocations: 388.9 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.008193, allocations: 4 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.008217, allocations: 12.03 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.008221, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008231, allocations: 7.984 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.008233, allocations: 4 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.008235, allocations: 0 / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.008379, allocations: 255.4 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.008391, allocations: 11.91 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.008408, allocations: 4 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.008447, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.00848, allocations: 7.984 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.00849, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.008557, allocations: 172.8 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008557, allocations: 0 / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.008736, allocations: 27.94 kB / 385.9 MB, free: 10.94 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.0009052/0.009641, allocations: 431.7 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.009764, allocations: 59.53 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009765, allocations: 0 / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.009804, allocations: 31.67 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01003, allocations: 36.11 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.0104, allocations: 214.2 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01044, allocations: 67.33 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.687e-05/0.01048, allocations: 13.28 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.01051, allocations: 24.48 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01051, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.00333/0.01384, allocations: 1.86 MB / 388.6 MB, free: 8.309 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.0936038019135594]