Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001412/0.001412, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001769/0.001769, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 1.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.07 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.2878/0.2878, allocations: 34.86 MB / 296.6 MB, free: 400 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.517e-05, allocations: 5.406 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002095/0.00211, allocations: 1.811 MB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003243, allocations: 1.009 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.003302, allocations: 0 / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.003557, allocations: 83.62 kB / 328.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.003789, allocations: 115.5 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003939, allocations: 87.53 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004133, allocations: 116.4 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.004201, allocations: 15.97 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.00428, allocations: 63.83 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.004358, allocations: 51.86 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.00437, allocations: 4 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.004436, allocations: 47.86 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.004473, allocations: 27.92 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.004499, allocations: 19.92 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.004632, allocations: 107.5 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.004633, allocations: 0 / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004634, allocations: 0 / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.004637, allocations: 0 / 329.6 MB, free: 3.461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003178/0.004955, allocations: 329.5 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.004981, allocations: 8.031 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.005009, allocations: 12.92 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.005137, allocations: 145.6 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005151, allocations: 8.375 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.005166, allocations: 4.375 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.005253, allocations: 69.69 kB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.00526, allocations: 192 / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.005266, allocations: 384 / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005271, allocations: 3.938 kB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.005293, allocations: 8 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.005463, allocations: 169.9 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.005537, allocations: 85.36 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.005556, allocations: 16.8 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.005564, allocations: 0 / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.41e-05/0.005638, allocations: 74.12 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.005639, allocations: 0 / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002442/0.005883, allocations: 113.5 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.005909, allocations: 55.39 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.006007, allocations: 185.1 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.00614, allocations: 25.7 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.006168, allocations: 92.11 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.006192, allocations: 31.77 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.00622, allocations: 29.7 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.006287, allocations: 326.8 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.006302, allocations: 14.81 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.006323, allocations: 26.02 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.006361, allocations: 40.52 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006362, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.99e-05/0.006432, allocations: 80.42 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.006441, allocations: 7.938 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006445, allocations: 0 / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006457, allocations: 8.031 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.006511, allocations: 12 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006513, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.006539, allocations: 7.984 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.006544, allocations: 0 / 331.5 MB, free: 1.328 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 (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.939e-05/0.006603, allocations: 120.6 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.006616, allocations: 15.92 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.006703, allocations: 71.14 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006704, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006705, allocations: 0 / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006708, allocations: 4 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.006898, allocations: 303.6 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.006905, allocations: 3.938 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.00693, allocations: 15.94 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006931, allocations: 0 / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.006936, allocations: 0 / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006938, allocations: 3.984 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006939, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.007025, allocations: 207.1 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.007037, allocations: 19.81 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.007052, allocations: 12.03 kB / 332.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.007089, allocations: 3.984 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.00711, allocations: 4 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.007122, allocations: 7.984 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.007165, allocations: 65.53 kB / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007165, allocations: 0 / 332.4 MB, free: 420 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.007302, allocations: 23.94 kB / 332.4 MB, free: 396 kB / 298.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.001153/0.008456, allocations: 0.5579 MB / 333 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.008544, allocations: 40.78 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.008547, allocations: 0 / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.008577, allocations: 32.78 kB / 333 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.008745, allocations: 39.17 kB / 333.1 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.009039, allocations: 234.8 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.009082, allocations: 71.33 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.483e-05/0.009116, allocations: 13.28 kB / 333.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.009177, allocations: 67.36 kB / 333.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009178, allocations: 0 / 333.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003679/0.01286, allocations: 2.022 MB / 335.5 MB, free: 13.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.9650878282263875]