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.0009352/0.0009352, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.00116/0.00116, allocations: 164 kB / 24.84 MB, free: 9.254 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.9662/0.9662, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.1746/0.1746, allocations: 32.38 MB / 271.5 MB, free: 14.62 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 8.82e-07/8.82e-07, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.36e-05, allocations: 6.25 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002191/0.002214, allocations: 1.802 MB / 350.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.003169, allocations: 0.8544 MB / 351.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003269, allocations: 3.938 kB / 351.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.00371, allocations: 303.1 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.004008, allocations: 211.2 kB / 352.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.004259, allocations: 143.6 kB / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004471, allocations: 247.2 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.004521, allocations: 13.81 kB / 352.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.004656, allocations: 139.7 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.004812, allocations: 200.1 kB / 352.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.004834, allocations: 8 kB / 352.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.00491, allocations: 47.86 kB / 352.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.005001, allocations: 140.5 kB / 353.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.00506, allocations: 63.67 kB / 353.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.005308, allocations: 275 kB / 353.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00531, allocations: 0 / 353.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005311, allocations: 0 / 353.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.005319, allocations: 4 kB / 353.4 MB, free: 4.656 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.0005874/0.005906, allocations: 0.7707 MB / 354.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.005939, allocations: 8.031 kB / 354.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.006001, allocations: 52.61 kB / 354.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.006271, allocations: 304.7 kB / 354.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.006297, allocations: 8.312 kB / 354.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.00631, allocations: 4.375 kB / 354.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.006466, allocations: 90.28 kB / 354.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.006479, allocations: 11.86 kB / 354.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.006487, allocations: 4 kB / 354.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.006495, allocations: 4 kB / 354.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.00653, allocations: 11.98 kB / 354.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.006716, allocations: 216.8 kB / 354.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.00684, allocations: 90.16 kB / 355 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.00687, allocations: 31.36 kB / 355 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.006881, allocations: 0 / 355 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006988, allocations: 120.3 kB / 355.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.006988, allocations: 0 / 355.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002045/0.007193, allocations: 173.2 kB / 355.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.007215, allocations: 77.11 kB / 355.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.007549, allocations: 0.6586 MB / 356 MB, free: 1.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.007564, allocations: 29.7 kB / 356 MB, free: 1.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.00768, allocations: 302.7 kB / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.007712, allocations: 27.78 kB / 356.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.007746, allocations: 43.34 kB / 356.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.007841, allocations: 0.5585 MB / 357 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.007859, allocations: 15.98 kB / 357 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.007897, allocations: 54.73 kB / 357 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.007959, allocations: 66.66 kB / 357.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007961, allocations: 4 kB / 357.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001271/0.008088, allocations: 141.2 kB / 357.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008101, allocations: 4 kB / 357.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008107, allocations: 0 / 357.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.008122, allocations: 15.98 kB / 357.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.008193, allocations: 20.62 kB / 357.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.008196, allocations: 0 / 357.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.008245, allocations: 15.94 kB / 357.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008253, allocations: 0 / 357.3 MB, free: 492 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.67e-05/0.00833, allocations: 180.3 kB / 357.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.00837, allocations: 55.67 kB / 357.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.008563, allocations: 157.6 kB / 357.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.008566, allocations: 7.875 kB / 357.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.00857, allocations: 8 kB / 357.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.008576, allocations: 0 / 357.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.008815, allocations: 225 kB / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008817, allocations: 0 / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.008851, allocations: 11.98 kB / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008854, allocations: 0 / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008863, allocations: 8 kB / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008866, allocations: 0 / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008867, allocations: 0 / 357.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.009069, allocations: 203.6 kB / 358.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.009129, allocations: 55.64 kB / 358.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.009154, allocations: 4 kB / 358.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.009193, allocations: 11.98 kB / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.009235, allocations: 11.92 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.009251, allocations: 4 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003059/0.009557, allocations: 422.7 kB / 358.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009557, allocations: 7.938 kB / 358.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.009751, allocations: 43.94 kB / 358.7 MB, free: 15.02 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.001059/0.01081, allocations: 384.9 kB / 359.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01096, allocations: 63.59 kB / 359.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.01096, allocations: 4 kB / 359.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.01102, allocations: 43.95 kB / 359.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01133, allocations: 79.67 kB / 359.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.01211, allocations: 0.6277 MB / 359.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.01221, allocations: 128.2 kB / 360 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.256e-05/0.01228, allocations: 34.95 kB / 360 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.01239, allocations: 118.2 kB / 360.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0124, allocations: 0 / 360.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.007364/0.01976, allocations: 4.317 MB / 364.5 MB, free: 9.277 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.4283507340587676]