Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.089/1.089, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1872/0.1872, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.2e-05, allocations: 6.25 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002448/0.00248, allocations: 1.82 MB / 349.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003706, allocations: 0.8582 MB / 350.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.003838, allocations: 7.938 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.004355, allocations: 303.2 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.00471, allocations: 211.2 kB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.005027, allocations: 139.6 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.005319, allocations: 251.2 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.005382, allocations: 9.812 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.005547, allocations: 143.6 kB / 351.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.00574, allocations: 200.1 kB / 351.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.005766, allocations: 8 kB / 351.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.005868, allocations: 47.92 kB / 351.7 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.005974, allocations: 132.5 kB / 351.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.006049, allocations: 79.64 kB / 351.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.006335, allocations: 271 kB / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.006339, allocations: 0 / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006341, allocations: 0 / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.00635, allocations: 0 / 352.2 MB, free: 5.242 MB / 282.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.000664/0.007014, allocations: 0.7669 MB / 352.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.007052, allocations: 12.03 kB / 353 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.007129, allocations: 48.61 kB / 353 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.007443, allocations: 328.7 kB / 353.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.007474, allocations: 4.375 kB / 353.3 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.007489, allocations: 4.375 kB / 353.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.007703, allocations: 90.28 kB / 353.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007713, allocations: 11.88 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.007726, allocations: 4 kB / 353.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007734, allocations: 3.984 kB / 353.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.007787, allocations: 15.98 kB / 353.5 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.008077, allocations: 300.3 kB / 353.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.008245, allocations: 102.2 kB / 353.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.008291, allocations: 35.36 kB / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.008305, allocations: 0 / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.008438, allocations: 112.3 kB / 354 MB, free: 3.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.008439, allocations: 0 / 354 MB, free: 3.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002779/0.008717, allocations: 181.1 kB / 354.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.008749, allocations: 81.11 kB / 354.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.009163, allocations: 0.6862 MB / 354.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.00918, allocations: 29.7 kB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.00929, allocations: 298.8 kB / 355.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.009331, allocations: 31.78 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.009376, allocations: 35.36 kB / 355.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.009472, allocations: 0.5587 MB / 355.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.009512, allocations: 11.98 kB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.009555, allocations: 54.73 kB / 355.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.009641, allocations: 79.19 kB / 356 MB, free: 1.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.009644, allocations: 4 kB / 356 MB, free: 1.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001589/0.009803, allocations: 149.2 kB / 356.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.009821, allocations: 8 kB / 356.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009827, allocations: 3.938 kB / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.00984, allocations: 4 kB / 356.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.009935, allocations: 19.98 kB / 356.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009941, allocations: 0 / 356.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.01, allocations: 15.94 kB / 356.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01001, allocations: 8.062 kB / 356.2 MB, free: 0.8984 MB / 282.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.785e-05/0.0101, allocations: 176.3 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01014, allocations: 55.67 kB / 356.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.01036, allocations: 165.5 kB / 356.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01036, allocations: 0 / 356.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.01037, allocations: 0 / 356.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01037, allocations: 4 kB / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.01056, allocations: 304.5 kB / 356.9 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01057, allocations: 0 / 356.9 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.0106, allocations: 8.25 kB / 356.9 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01061, allocations: 4 kB / 356.9 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01062, allocations: 15.98 kB / 357 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01062, allocations: 3.938 kB / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01062, allocations: 0 / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01087, allocations: 211.6 kB / 357.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.01094, allocations: 51.67 kB / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.01098, allocations: 11.98 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.01104, allocations: 7.938 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.0111, allocations: 11.98 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.01112, allocations: 4 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000373/0.0115, allocations: 470.8 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0115, allocations: 0 / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.0117, allocations: 47.92 kB / 357.8 MB, free: 15.3 MB / 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: 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.0009348/0.01264, allocations: 404.2 kB / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.01282, allocations: 71.53 kB / 358.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01283, allocations: 0 / 358.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.01288, allocations: 39.61 kB / 358.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01322, allocations: 70.58 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.01412, allocations: 0.6434 MB / 359 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.01421, allocations: 124.2 kB / 359.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.0143, allocations: 47.44 kB / 359.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.01435, allocations: 24.5 kB / 359.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.384e-06/0.01436, allocations: 0 / 359.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Templates: time 0.008047/0.0224, allocations: 3.97 MB / 363.1 MB, free: 9.973 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.4302828228101134]