Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.00103/0.00103, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009903/0.0009903, allocations: 160.5 kB / 24.55 MB, free: 16 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/1, allocations: 177 MB / 204.8 MB, free: 5.578 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.2751/0.2751, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.189e-05, allocations: 2.875 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002422/0.002444, allocations: 1.95 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.003819, allocations: 1.116 MB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.003909, allocations: 3.938 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.004313, allocations: 223.3 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.004841, allocations: 219 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.005164, allocations: 123.5 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.005494, allocations: 263.2 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.005604, allocations: 21.95 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.005768, allocations: 151.5 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.00593, allocations: 151.7 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005954, allocations: 8 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.006084, allocations: 67.91 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.006162, allocations: 55.78 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.006225, allocations: 55.72 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.006501, allocations: 195.2 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006504, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.006506, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006512, allocations: 0 / 383.4 MB, free: 13.39 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006971/0.007209, allocations: 0.6041 MB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.007252, allocations: 8.031 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.007343, allocations: 36.73 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.007605, allocations: 232.5 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.007631, allocations: 4.375 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.007663, allocations: 8.375 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.00787, allocations: 114.3 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.007887, allocations: 4.141 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.007903, allocations: 4.375 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.007919, allocations: 7.938 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.008002, allocations: 39.89 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.00855, allocations: 0.5063 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.008788, allocations: 122.1 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.008836, allocations: 43.42 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.00885, allocations: 7.938 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.008981, allocations: 112.4 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.008982, allocations: 4 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007636/0.009745, allocations: 469.5 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.009784, allocations: 85.11 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.01003, allocations: 394.3 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01005, allocations: 33.7 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.01014, allocations: 215.3 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.01019, allocations: 75.41 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.01024, allocations: 51.36 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01038, allocations: 0.5235 MB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.01043, allocations: 35.97 kB / 387.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.0105, allocations: 81.12 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.01062, allocations: 122.8 kB / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01063, allocations: 0 / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002077/0.01083, allocations: 209.2 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01085, allocations: 4 kB / 387.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01085, allocations: 4.062 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01086, allocations: 4 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.01095, allocations: 47.84 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01096, allocations: 4 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.011, allocations: 11.94 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01101, allocations: 12 kB / 387.6 MB, free: 8.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.711e-05/0.0111, allocations: 164.6 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.01114, allocations: 47.7 kB / 387.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.01141, allocations: 228.4 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01141, allocations: 8 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01141, allocations: 0 / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01142, allocations: 0 / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.01194, allocations: 0.7528 MB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01194, allocations: 0 / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.012, allocations: 39.86 kB / 388.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01201, allocations: 4 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01202, allocations: 8 kB / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01202, allocations: 128 / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01202, allocations: 8 kB / 388.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.01236, allocations: 0.5145 MB / 389.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01239, allocations: 27.77 kB / 389.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01242, allocations: 8 kB / 389.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.01249, allocations: 11.98 kB / 389.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.01255, allocations: 23.97 kB / 389.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.01257, allocations: 8 kB / 389.5 MB, free: 6.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.01272, allocations: 275 kB / 389.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01272, allocations: 0 / 389.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01296, allocations: 55.92 kB / 389.8 MB, free: 6.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001002/0.01397, allocations: 491 kB / 390.3 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.01417, allocations: 131.5 kB / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01417, allocations: 0 / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.01425, allocations: 79.52 kB / 390.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01458, allocations: 65.77 kB / 390.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.01512, allocations: 0.4895 MB / 391 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.418e-05/0.01518, allocations: 96.3 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.923e-05/0.01525, allocations: 46.22 kB / 391.2 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.0153, allocations: 36.48 kB / 391.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0153, allocations: 0 / 391.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of Templates: time 0.005279/0.02058, allocations: 3.612 MB / 394.8 MB, free: 1.738 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.2942241989076138]