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.001132/0.001132, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001049/0.001049, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9955/0.9955, allocations: 158.6 MB / 185.7 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.1668/0.1668, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.335e-06/2.335e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.702e-05, allocations: 6.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002328/0.002365, allocations: 1.818 MB / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003382, allocations: 0.8661 MB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.00347, allocations: 0 / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.003895, allocations: 303.1 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.004179, allocations: 219.2 kB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.004422, allocations: 139.6 kB / 351.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.004642, allocations: 247.2 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.004684, allocations: 9.812 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.004805, allocations: 143.6 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.004958, allocations: 200.1 kB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.004983, allocations: 8 kB / 351.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.005073, allocations: 47.91 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.005176, allocations: 136.5 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.005245, allocations: 71.66 kB / 351.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005498, allocations: 274.9 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.005502, allocations: 0 / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005503, allocations: 0 / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.005509, allocations: 4 kB / 352.2 MB, free: 4.902 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.0006046/0.006114, allocations: 0.767 MB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.006155, allocations: 12.03 kB / 353 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.006227, allocations: 48.61 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.006543, allocations: 328.6 kB / 353.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.006571, allocations: 4.359 kB / 353.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.006589, allocations: 8.375 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.0068, allocations: 94.3 kB / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006811, allocations: 3.938 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006823, allocations: 0 / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.006831, allocations: 0 / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.006886, allocations: 31.89 kB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.007194, allocations: 296.3 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.007365, allocations: 94.22 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.007411, allocations: 39.36 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.007428, allocations: 3.938 kB / 353.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.007589, allocations: 104.4 kB / 354 MB, free: 2.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.007591, allocations: 3.938 kB / 354 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003316/0.007922, allocations: 181.2 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.007959, allocations: 81.11 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.00842, allocations: 0.6784 MB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.008442, allocations: 37.69 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.008568, allocations: 294.8 kB / 355.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.008622, allocations: 31.72 kB / 355.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.008664, allocations: 31.38 kB / 355.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.008762, allocations: 0.5587 MB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.008799, allocations: 15.98 kB / 355.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.008843, allocations: 58.48 kB / 356 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.008927, allocations: 83.17 kB / 356 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.00893, allocations: 0 / 356 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001501/0.00908, allocations: 153.3 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.009097, allocations: 4 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.009103, allocations: 3.938 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.009119, allocations: 4 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.009233, allocations: 23.92 kB / 356.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.009242, allocations: 0 / 356.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.009338, allocations: 7.953 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009351, allocations: 12 kB / 356.2 MB, free: 0.5625 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 0.000107/0.009458, allocations: 172.4 kB / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.009519, allocations: 55.73 kB / 356.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.00977, allocations: 165.5 kB / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.009773, allocations: 0 / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.009779, allocations: 4 kB / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.009786, allocations: 0 / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.01009, allocations: 308.5 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01009, allocations: 0 / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.01014, allocations: 16.17 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01014, allocations: 0 / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01016, allocations: 8 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01016, allocations: 7.938 kB / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.01017, allocations: 0 / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.01042, allocations: 211.7 kB / 357.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.01049, allocations: 55.66 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.01053, allocations: 4 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.01058, allocations: 15.92 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.01064, allocations: 7.984 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.01066, allocations: 4 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003854/0.01104, allocations: 474.7 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.01127, allocations: 43.94 kB / 357.8 MB, free: 14.96 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.001053/0.01232, allocations: 396.6 kB / 358.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.01255, allocations: 79.58 kB / 358.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01255, allocations: 0 / 358.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.01261, allocations: 39.61 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.01298, allocations: 78.52 kB / 358.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.01385, allocations: 0.6395 MB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.323e-05/0.01394, allocations: 124.2 kB / 359.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.011e-05/0.01402, allocations: 43.44 kB / 359.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.01408, allocations: 24.5 kB / 359.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.01409, allocations: 4 kB / 359.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.007296/0.02138, allocations: 4.194 MB / 363.4 MB, free: 9.402 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.182348222937435]