Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009714/0.0009714, 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.001107/0.001107, 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 1/1, allocations: 177 MB / 205.2 MB, free: 5.055 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.2423/0.2423, allocations: 34.86 MB / 296.6 MB, free: 392 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.294e-05, allocations: 2.312 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003024/0.003047, allocations: 1.837 MB / 327.8 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.004339, allocations: 1.084 MB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.004414, allocations: 3.938 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.004818, allocations: 303 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.005166, allocations: 255.1 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.005321, allocations: 111.6 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.005538, allocations: 263.9 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.005585, allocations: 22.42 kB / 329.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.005722, allocations: 147.7 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.005877, allocations: 168.1 kB / 330.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.005896, allocations: 8 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.005973, allocations: 51.91 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.006085, allocations: 136.5 kB / 330.4 MB, free: 2.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.006149, allocations: 71.64 kB / 330.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.006383, allocations: 278.9 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.006386, allocations: 0 / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006387, allocations: 0 / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.006391, allocations: 0 / 330.7 MB, free: 2.348 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.0005804/0.006971, allocations: 0.6394 MB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.007001, allocations: 12.03 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.007043, allocations: 24.91 kB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.007291, allocations: 294 kB / 331.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.007309, allocations: 12.38 kB / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.007321, allocations: 4.312 kB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.00744, allocations: 95.44 kB / 331.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.007449, allocations: 4.188 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007457, allocations: 4.359 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007464, allocations: 7.875 kB / 331.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.007495, allocations: 17.64 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.007625, allocations: 122.2 kB / 331.9 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.007737, allocations: 82.8 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.007764, allocations: 25.72 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.007775, allocations: 0 / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.007885, allocations: 103.3 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.007886, allocations: 3.938 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001607/0.008047, allocations: 103.3 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.008085, allocations: 81.05 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.008511, allocations: 0.5945 MB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.008523, allocations: 25.7 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.008581, allocations: 153.3 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.008615, allocations: 35.73 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.008647, allocations: 29.7 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.008754, allocations: 366.7 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.00878, allocations: 14.81 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.00881, allocations: 41.8 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.008868, allocations: 63.83 kB / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.00887, allocations: 0 / 333.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001046/0.008975, allocations: 115.8 kB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.008986, allocations: 8 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008991, allocations: 0 / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.009002, allocations: 0 / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.009069, allocations: 19.94 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.009073, allocations: 7.984 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.009123, allocations: 11.94 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.009131, allocations: 4 kB / 333.8 MB, free: 15.02 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 8.219e-05/0.009213, allocations: 126.1 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.009238, allocations: 32.02 kB / 333.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.009359, allocations: 117.9 kB / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009361, allocations: 0 / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009365, allocations: 11.92 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.009369, allocations: 3.938 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.009493, allocations: 165.6 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.009494, allocations: 3.938 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.009517, allocations: 8 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.00952, allocations: 3.984 kB / 334.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009529, allocations: 8 kB / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00953, allocations: 0 / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009531, allocations: 4 kB / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.00963, allocations: 131 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.009676, allocations: 51.64 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.009701, allocations: 15.92 kB / 334.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.009749, allocations: 4.188 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.009775, allocations: 7.984 kB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.009791, allocations: 12 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.01, allocations: 315.2 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01, allocations: 4 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.01015, allocations: 40 kB / 334.8 MB, free: 13.91 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.001069/0.01121, allocations: 0.4958 MB / 335.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.01131, allocations: 56.75 kB / 335.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.01131, allocations: 4 kB / 335.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.01135, allocations: 36.78 kB / 335.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01154, allocations: 68.59 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.01215, allocations: 0.6423 MB / 336.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.01222, allocations: 128.2 kB / 336.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.01227, allocations: 38.95 kB / 336.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.01237, allocations: 95.36 kB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01237, allocations: 0 / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Templates: time 0.005945/0.01832, allocations: 4.261 MB / 340.6 MB, free: 8.355 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.998145568650216]