Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001577/0.001577, allocations: 84.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.002125/0.002125, allocations: 160.2 kB / 24.91 MB, free: 8.262 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.9781/0.9781, allocations: 177 MB / 205.2 MB, free: 5.457 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.2628/0.2628, allocations: 34.86 MB / 296.6 MB, free: 444 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.912e-05, allocations: 3.625 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003777/0.003806, allocations: 1.842 MB / 327.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.005909, allocations: 1.084 MB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.006007, allocations: 0 / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.006478, allocations: 311 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.006906, allocations: 263 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.007126, allocations: 111.6 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.007382, allocations: 268 kB / 329.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.007428, allocations: 18.44 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.007631, allocations: 147.6 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.007784, allocations: 175.7 kB / 330.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.007803, allocations: 8 kB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.007884, allocations: 51.91 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.007986, allocations: 144 kB / 330.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.008048, allocations: 75.64 kB / 330.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.008287, allocations: 282.9 kB / 330.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00829, allocations: 0 / 330.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.008292, allocations: 4 kB / 330.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.008296, allocations: 0 / 330.7 MB, free: 2.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005383/0.008834, allocations: 0.6394 MB / 331.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.008862, allocations: 8.031 kB / 331.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.008907, allocations: 32.89 kB / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.009244, allocations: 301.9 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.009265, allocations: 12.36 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.009278, allocations: 8.312 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.009395, allocations: 87.47 kB / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.009402, allocations: 192 / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.009409, allocations: 4.359 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.009417, allocations: 3.938 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.009448, allocations: 25.58 kB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.009582, allocations: 114.3 kB / 332 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.009683, allocations: 82.8 kB / 332 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.00971, allocations: 25.7 kB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.009721, allocations: 4 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.7e-05/0.009818, allocations: 91.89 kB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.91e-07/0.009818, allocations: 0 / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001433/0.009962, allocations: 107.2 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.009998, allocations: 89.03 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.01037, allocations: 0.6062 MB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.01038, allocations: 29.7 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.01044, allocations: 149.3 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.01047, allocations: 39.73 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.01051, allocations: 29.7 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.0106, allocations: 366.7 kB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.01062, allocations: 14.81 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.01065, allocations: 35.42 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.0107, allocations: 76.31 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01071, allocations: 0 / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.924e-05/0.01081, allocations: 111.2 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01082, allocations: 8 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.01082, allocations: 0 / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01083, allocations: 0 / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.0109, allocations: 27.92 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.0109, allocations: 0 / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.01095, allocations: 7.938 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.01096, allocations: 8 kB / 333.8 MB, free: 14.94 MB / 314.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.814e-05/0.01103, allocations: 122.1 kB / 334 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01106, allocations: 35.89 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.01118, allocations: 118 kB / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01118, allocations: 4 kB / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01119, allocations: 3.938 kB / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01119, allocations: 3.938 kB / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.01132, allocations: 169.6 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01132, allocations: 0 / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.01134, allocations: 19.92 kB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01135, allocations: 256 / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01135, allocations: 0 / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01135, allocations: 4 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01135, allocations: 8 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.01146, allocations: 139.3 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.01151, allocations: 51.66 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.01153, allocations: 4 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.01157, allocations: 8 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.0116, allocations: 11.92 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01161, allocations: 3.984 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002057/0.01181, allocations: 319.2 kB / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.01196, allocations: 51.92 kB / 334.9 MB, free: 13.82 MB / 314.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001154/0.01311, allocations: 0.5024 MB / 335.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.01321, allocations: 52.77 kB / 335.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.01321, allocations: 8 kB / 335.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.01325, allocations: 28.8 kB / 335.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01345, allocations: 71.45 kB / 335.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.01404, allocations: 0.654 MB / 336.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.01411, allocations: 132.2 kB / 336.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.133e-05/0.01418, allocations: 39.45 kB / 336.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.01427, allocations: 95.36 kB / 336.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01427, allocations: 0 / 336.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of Templates: time 0.006788/0.02106, allocations: 4.322 MB / 340.8 MB, free: 8.188 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.044778782874346]