Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001456/0.001456, allocations: 82.64 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.001466/0.001466, allocations: 166.8 kB / 24.84 MB, free: 9.297 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 1.047/1.047, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1448/0.1448, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 349 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.773e-05, allocations: 8.281 kB / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002554/0.002571, allocations: 1.808 MB / 350.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.00371, allocations: 0.8544 MB / 351.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003826, allocations: 7.938 kB / 351.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.004337, allocations: 315.1 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.004632, allocations: 219.2 kB / 352.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.004897, allocations: 139.6 kB / 352.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.005124, allocations: 247.2 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.005175, allocations: 9.797 kB / 352.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.005312, allocations: 139.7 kB / 352.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.005481, allocations: 207.6 kB / 352.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.005505, allocations: 8 kB / 352.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.005586, allocations: 47.92 kB / 353 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.005689, allocations: 147.5 kB / 353.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.005748, allocations: 63.73 kB / 353.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.005985, allocations: 278.9 kB / 353.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005988, allocations: 0 / 353.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005989, allocations: 0 / 353.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.005994, allocations: 0 / 353.4 MB, free: 4.629 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.0006061/0.006601, allocations: 0.7823 MB / 354.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.006641, allocations: 8.031 kB / 354.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.006704, allocations: 56.56 kB / 354.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.006952, allocations: 312.7 kB / 354.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.006971, allocations: 384 / 354.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.006984, allocations: 8.359 kB / 354.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.007123, allocations: 90.28 kB / 354.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007133, allocations: 7.938 kB / 354.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.007141, allocations: 0 / 354.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.007147, allocations: 3.938 kB / 354.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.00718, allocations: 19.95 kB / 354.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.007365, allocations: 216.8 kB / 354.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.007485, allocations: 98.14 kB / 355 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.007515, allocations: 31.36 kB / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.007528, allocations: 0 / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.007647, allocations: 108.3 kB / 355.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.007648, allocations: 0 / 355.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002303/0.007879, allocations: 177.4 kB / 355.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.007906, allocations: 77.11 kB / 355.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.008296, allocations: 0.6742 MB / 356.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.008312, allocations: 29.7 kB / 356.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.008443, allocations: 310.7 kB / 356.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.008486, allocations: 35.73 kB / 356.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.008524, allocations: 39.28 kB / 356.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.008647, allocations: 0.5664 MB / 357 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.008673, allocations: 11.98 kB / 357.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.008711, allocations: 46.73 kB / 357.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.485e-05/0.008776, allocations: 78.66 kB / 357.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008778, allocations: 0 / 357.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001474/0.008925, allocations: 145.2 kB / 357.3 MB, free: 464 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.00894, allocations: 8 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.008947, allocations: 0 / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.008961, allocations: 3.938 kB / 357.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.009045, allocations: 20 kB / 357.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.009051, allocations: 3.984 kB / 357.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.00911, allocations: 15.89 kB / 357.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.009118, allocations: 4.062 kB / 357.4 MB, free: 408 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 0.0001055/0.009224, allocations: 172.8 kB / 357.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.009268, allocations: 59.66 kB / 357.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.009505, allocations: 161.8 kB / 357.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.00951, allocations: 3.938 kB / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.009516, allocations: 4 kB / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.009523, allocations: 0 / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.009785, allocations: 225.1 kB / 358 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.009788, allocations: 0 / 358 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.009826, allocations: 12 kB / 358 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009829, allocations: 4 kB / 358 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.009838, allocations: 0 / 358 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.009843, allocations: 4 kB / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009845, allocations: 0 / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.01008, allocations: 219.4 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.01014, allocations: 51.66 kB / 358.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.01017, allocations: 0 / 358.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.01022, allocations: 7.984 kB / 358.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.01027, allocations: 15.92 kB / 358.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01028, allocations: 4 kB / 358.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004996/0.01078, allocations: 434.7 kB / 358.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01078, allocations: 0 / 358.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01103, allocations: 47.92 kB / 358.8 MB, free: 14.93 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.0008881/0.01192, allocations: 387.9 kB / 359.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.01208, allocations: 71.58 kB / 359.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01208, allocations: 0 / 359.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.01213, allocations: 35.61 kB / 359.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.01245, allocations: 75.08 kB / 359.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.01324, allocations: 0.6549 MB / 360 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.01334, allocations: 132.2 kB / 360.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.01343, allocations: 42.95 kB / 360.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.01356, allocations: 122.2 kB / 360.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01356, allocations: 0 / 360.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.008042/0.02161, allocations: 4.369 MB / 364.6 MB, free: 9.102 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.367775878868997]