Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.0009445/0.0009445, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001014/0.001014, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9679/0.9679, allocations: 177 MB / 205.2 MB, free: 5.043 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.2659/0.2659, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.797e-05, allocations: 2.312 kB / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003577/0.003605, allocations: 1.703 MB / 327.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.005532, allocations: 1.006 MB / 328.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005643, allocations: 4 kB / 328.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.006104, allocations: 75.7 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.006552, allocations: 119.5 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.006807, allocations: 79.53 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.007022, allocations: 116.4 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.007072, allocations: 8.219 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.007215, allocations: 63.77 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.007332, allocations: 47.88 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.007351, allocations: 4 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.007436, allocations: 31.92 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.007496, allocations: 27.91 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.007536, allocations: 11.94 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.007747, allocations: 103.5 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.007751, allocations: 0 / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007752, allocations: 0 / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.007757, allocations: 4 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004696/0.008226, allocations: 321.6 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.008271, allocations: 8.031 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.008317, allocations: 8.922 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.008532, allocations: 149.6 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.008554, allocations: 8.375 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.008568, allocations: 384 / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.008707, allocations: 65.7 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.008714, allocations: 192 / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.008721, allocations: 384 / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008727, allocations: 7.938 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.008749, allocations: 7.984 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.278e-05/0.008842, allocations: 66.7 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.008926, allocations: 41.42 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.008944, allocations: 12.86 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.008953, allocations: 0 / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.009032, allocations: 62.09 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.009033, allocations: 4 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001068/0.00914, allocations: 61.67 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.009169, allocations: 51.41 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.009278, allocations: 193 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.00929, allocations: 25.7 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.00932, allocations: 104.1 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.009345, allocations: 11.91 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.009374, allocations: 25.69 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.009451, allocations: 322.8 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.009466, allocations: 10.77 kB / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.009485, allocations: 17.7 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.009521, allocations: 39.36 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009524, allocations: 0 / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.09e-05/0.009594, allocations: 64.44 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.009606, allocations: 4 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.009611, allocations: 0 / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.009624, allocations: 4 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.309e-05/0.009677, allocations: 8 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.00968, allocations: 3.984 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.009708, allocations: 4.25 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.009713, allocations: 8.031 kB / 331.1 MB, free: 1.773 MB / 298.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 (7): * Single equations (assignments): 7 * 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.145e-05/0.009775, allocations: 120.6 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.009786, allocations: 7.984 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.009868, allocations: 62.83 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.009871, allocations: 4 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009872, allocations: 0 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.009877, allocations: 3.938 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.275e-05/0.009949, allocations: 81.86 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009951, allocations: 0 / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.009966, allocations: 8 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.009967, allocations: 4 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.009974, allocations: 7.984 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.009975, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009976, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.22e-05/0.01005, allocations: 90.64 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.01006, allocations: 23.78 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01008, allocations: 0 / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.0101, allocations: 4 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.01013, allocations: 7.984 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01014, allocations: 0 / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.01019, allocations: 65.53 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 4 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001199/0.01031, allocations: 20 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001024/0.01134, allocations: 491.1 kB / 332.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.01142, allocations: 44.7 kB / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01142, allocations: 0 / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.01145, allocations: 20.97 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.01158, allocations: 28.05 kB / 332.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.01187, allocations: 217.7 kB / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.01191, allocations: 71.33 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.01194, allocations: 8.484 kB / 332.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.01199, allocations: 71.36 kB / 332.5 MB, free: 484 kB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01199, allocations: 0 / 332.5 MB, free: 484 kB / 298.7 MB Notification: Performance of Templates: time 0.003213/0.01521, allocations: 1.764 MB / 334.3 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.900948883034289]