Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009553/0.0009553, 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.001281/0.001281, 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 0.9961/0.9961, allocations: 177 MB / 204.8 MB, free: 5.574 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.2948/0.2948, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.529e-05, allocations: 3.016 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002551/0.002576, allocations: 1.772 MB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004032, allocations: 1.009 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.004134, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004499, allocations: 43.7 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.004858, allocations: 103.5 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.005068, allocations: 79.59 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.005242, allocations: 103.7 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.005338, allocations: 7.984 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.533e-05/0.005433, allocations: 59.77 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.005508, allocations: 23.92 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.005523, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.005614, allocations: 47.91 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.005667, allocations: 27.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.005708, allocations: 15.94 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.005891, allocations: 99.53 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005895, allocations: 3.984 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.005895, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.005901, allocations: 0 / 382.2 MB, free: 14.59 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.0005379/0.006439, allocations: 439.9 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.006475, allocations: 12.03 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.006525, allocations: 12.89 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.0067, allocations: 150.6 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.00672, allocations: 8.359 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.00674, allocations: 4.375 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.006873, allocations: 66.88 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.006885, allocations: 4.188 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006895, allocations: 384 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.006905, allocations: 3.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.006942, allocations: 19.97 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.007267, allocations: 275.8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.007395, allocations: 59.09 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.007428, allocations: 23.62 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.00744, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.007554, allocations: 72.97 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.007555, allocations: 0 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000428/0.007983, allocations: 161.3 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.008022, allocations: 55.39 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.008156, allocations: 222.6 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.00817, allocations: 29.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.008235, allocations: 150.9 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.008265, allocations: 23.8 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.008302, allocations: 35.36 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.008444, allocations: 0.4962 MB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.00847, allocations: 8 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.008512, allocations: 39.3 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/0.008576, allocations: 47.36 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.008578, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.008697, allocations: 101.5 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008711, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008716, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008731, allocations: 4.031 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.008807, allocations: 19.98 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.008813, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.008842, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008848, allocations: 4 kB / 384.8 MB, free: 11.86 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 8.328e-05/0.008931, allocations: 164.5 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.008951, allocations: 15.89 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.009116, allocations: 103.1 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.00912, allocations: 4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.009124, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.009129, allocations: 4.375 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.00944, allocations: 392.9 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.009443, allocations: 7.984 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.00947, allocations: 8 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009474, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.009485, allocations: 8 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009487, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009489, allocations: 3.938 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.009642, allocations: 255.4 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.009657, allocations: 11.91 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.009674, allocations: 12.02 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.009712, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.009747, allocations: 7.984 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.009761, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.19e-05/0.009843, allocations: 163.9 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009843, allocations: 0 / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.01003, allocations: 23.94 kB / 385.9 MB, free: 10.61 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.0009488/0.01098, allocations: 430.5 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01112, allocations: 51.61 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01112, allocations: 3.938 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.01117, allocations: 35.61 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01143, allocations: 35.2 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.01185, allocations: 214.2 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.01191, allocations: 67.34 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.01195, allocations: 29.38 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.01199, allocations: 16.5 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01199, allocations: 0 / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of Templates: time 0.003933/0.01592, allocations: 1.989 MB / 388.8 MB, free: 7.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.1429712823592126]