Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.001019/0.001019, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00112/0.00112, allocations: 169 kB / 24.24 MB, free: 316 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 0.9946/0.9946, allocations: 158.6 MB / 186 MB, free: 2.926 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.1415/0.1415, 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.228e-05, allocations: 5.406 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002434/0.002467, allocations: 1.812 MB / 349.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.003466, allocations: 0.8622 MB / 350.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.003552, allocations: 7.938 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.004026, allocations: 303.2 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004305, allocations: 211.2 kB / 350.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.004529, allocations: 139.6 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.004742, allocations: 251.2 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.004798, allocations: 9.812 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.004944, allocations: 151.6 kB / 351.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.005123, allocations: 196.1 kB / 351.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.005157, allocations: 8 kB / 351.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.005249, allocations: 47.92 kB / 351.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.005355, allocations: 132.5 kB / 351.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.005422, allocations: 75.64 kB / 351.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.005685, allocations: 271 kB / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005688, allocations: 0 / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005689, allocations: 0 / 352.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.005696, 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.0006782/0.006374, allocations: 0.7708 MB / 353 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.00643, allocations: 8.031 kB / 353 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.006523, allocations: 52.61 kB / 353 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.006827, allocations: 324.7 kB / 353.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.00685, allocations: 4.375 kB / 353.3 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.006864, allocations: 4.375 kB / 353.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.007035, allocations: 98.22 kB / 353.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.007045, allocations: 3.938 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.007056, allocations: 4 kB / 353.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.007064, allocations: 0 / 353.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.007112, allocations: 15.98 kB / 353.5 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.007365, allocations: 300.3 kB / 353.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.00752, allocations: 106.1 kB / 353.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.007567, allocations: 35.36 kB / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.007581, allocations: 0 / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.007736, allocations: 112.3 kB / 354 MB, free: 3.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.007737, allocations: 3.938 kB / 354 MB, free: 3.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002856/0.008023, allocations: 185.1 kB / 354.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.008057, allocations: 81.11 kB / 354.3 MB, free: 2.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.008469, allocations: 0.6823 MB / 354.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.008482, allocations: 29.7 kB / 355 MB, free: 2.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.008598, allocations: 298.8 kB / 355.3 MB, free: 1.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.008641, allocations: 27.78 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.008677, allocations: 35.36 kB / 355.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.008773, allocations: 0.5587 MB / 355.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.008808, allocations: 11.98 kB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.008853, allocations: 58.67 kB / 356 MB, free: 1.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.008935, allocations: 79.25 kB / 356 MB, free: 1.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008937, allocations: 0 / 356 MB, free: 1.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001472/0.009085, allocations: 149.2 kB / 356.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.0091, allocations: 8 kB / 356.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.009107, allocations: 3.938 kB / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.009125, allocations: 0 / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.009221, allocations: 27.98 kB / 356.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.009229, allocations: 3.938 kB / 356.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.009285, allocations: 11.94 kB / 356.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.009294, allocations: 8.062 kB / 356.2 MB, free: 0.8945 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.356e-05/0.009377, allocations: 172.4 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.009417, allocations: 55.67 kB / 356.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.009628, allocations: 165.5 kB / 356.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009632, allocations: 3.984 kB / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.009638, allocations: 0 / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.009644, allocations: 0 / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.009835, allocations: 304.5 kB / 356.9 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.009839, allocations: 4 kB / 356.9 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.009879, allocations: 8.25 kB / 356.9 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009882, allocations: 4 kB / 356.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.009898, allocations: 11.98 kB / 357 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.0099, allocations: 3.938 kB / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.009902, allocations: 0 / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.0101, allocations: 215.7 kB / 357.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.01016, allocations: 55.67 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.01019, allocations: 7.984 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.01024, allocations: 7.938 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.01029, allocations: 11.98 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.0103, allocations: 4 kB / 357.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003421/0.01065, allocations: 470.8 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01083, allocations: 47.92 kB / 357.8 MB, free: 15.29 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.0009303/0.01176, allocations: 402.8 kB / 358.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01193, allocations: 71.53 kB / 358.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01193, allocations: 0 / 358.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.01199, 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.0003099/0.01229, allocations: 82.45 kB / 358.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.01306, allocations: 0.6317 MB / 359 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.01314, allocations: 128.2 kB / 359.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.01321, allocations: 43.44 kB / 359.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.01326, allocations: 32.5 kB / 359.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01326, allocations: 0 / 359.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006886/0.02015, allocations: 3.967 MB / 363.1 MB, free: 9.965 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.3929821730125695]