Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001049/0.001049, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001731/0.001731, allocations: 169 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.9598/0.9598, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1573/0.1573, allocations: 32.37 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.Test71,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.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,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.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.668e-05, allocations: 13.34 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00216/0.002186, allocations: 1.824 MB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003199, allocations: 0.8622 MB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.003284, allocations: 0 / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.003724, allocations: 311.1 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.004021, allocations: 223.2 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.004264, allocations: 135.6 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.004473, allocations: 251.2 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.00452, allocations: 9.797 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.004648, allocations: 143.6 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.004842, allocations: 207.6 kB / 351.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.00487, allocations: 8 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.004962, allocations: 47.92 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.005072, allocations: 139.6 kB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.005147, allocations: 75.66 kB / 351.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.005401, allocations: 278.9 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005403, allocations: 0 / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005404, allocations: 0 / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.00541, allocations: 0 / 352.2 MB, free: 4.875 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.0006229/0.006033, allocations: 0.7786 MB / 353 MB, free: 4.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.006074, allocations: 8.031 kB / 353 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.006143, allocations: 56.56 kB / 353.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.006427, allocations: 328.6 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.006447, allocations: 4.312 kB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.006462, allocations: 12.38 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.006607, allocations: 98.27 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.006617, allocations: 3.938 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006628, allocations: 0 / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006635, allocations: 0 / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.006685, allocations: 23.92 kB / 353.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.006922, allocations: 312.2 kB / 353.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.007059, allocations: 98.16 kB / 353.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.007099, allocations: 35.36 kB / 354 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.007117, allocations: 7.984 kB / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.007234, allocations: 104.4 kB / 354.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.62e-07/0.007235, allocations: 3.938 kB / 354.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002529/0.007488, allocations: 169.3 kB / 354.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.007516, allocations: 85.05 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.007913, allocations: 0.7018 MB / 355 MB, free: 1.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.007924, allocations: 25.7 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.008028, allocations: 302.8 kB / 355.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.008064, allocations: 31.75 kB / 355.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.008099, allocations: 35.36 kB / 355.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.008195, allocations: 0.5587 MB / 356 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.008225, allocations: 15.98 kB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.008263, allocations: 56.98 kB / 356 MB, free: 0.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.008332, allocations: 79.17 kB / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008334, allocations: 0 / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001346/0.008469, allocations: 149.3 kB / 356.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008483, allocations: 8 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008489, allocations: 3.938 kB / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.008504, allocations: 0 / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.008591, allocations: 31.92 kB / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.008601, allocations: 0 / 356.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.008653, allocations: 15.88 kB / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.00866, allocations: 4 kB / 356.3 MB, free: 496 kB / 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 7.338e-05/0.008733, allocations: 172.4 kB / 356.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.008768, allocations: 59.73 kB / 356.5 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.008956, allocations: 161.7 kB / 356.7 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008958, allocations: 3.938 kB / 356.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.008962, allocations: 0 / 356.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.008967, allocations: 4 kB / 356.7 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.009215, allocations: 308.5 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.009219, allocations: 4.188 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.009251, allocations: 15.98 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.009255, allocations: 4 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.009264, allocations: 0 / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.009268, allocations: 11.94 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009269, allocations: 0 / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.009456, allocations: 211.7 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.009519, allocations: 55.66 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.009552, allocations: 7.938 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.009597, allocations: 11.94 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.009641, allocations: 11.97 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.009656, allocations: 4 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003386/0.009995, allocations: 474.8 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009995, allocations: 7.938 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01019, allocations: 47.94 kB / 357.9 MB, free: 14.86 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.0008128/0.011, allocations: 393 kB / 358.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01115, allocations: 75.58 kB / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01115, allocations: 4 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.0112, allocations: 39.61 kB / 358.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01148, allocations: 74.52 kB / 358.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.01224, allocations: 0.6589 MB / 359.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.01233, allocations: 124.2 kB / 359.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.0124, allocations: 43.44 kB / 359.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.01245, allocations: 32.48 kB / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01246, allocations: 4 kB / 359.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.008696/0.02115, allocations: 4.01 MB / 363.3 MB, free: 9.469 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.320907182060182]