Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.001514/0.001514, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001248/0.001248, allocations: 166.6 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.001/1.001, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.2236/0.2236, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Test69,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.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,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.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.391e-05, allocations: 4.281 kB / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002125/0.002149, allocations: 1.804 MB / 350.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003202, allocations: 0.8544 MB / 351.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.003301, allocations: 3.938 kB / 351.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.003767, allocations: 303.1 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.004069, allocations: 211.2 kB / 352.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.004338, allocations: 139.6 kB / 352.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.004587, allocations: 251.2 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.004648, allocations: 9.812 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004776, allocations: 143.7 kB / 352.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.004944, allocations: 200.1 kB / 352.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004971, allocations: 8 kB / 352.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.005059, allocations: 47.86 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.005167, allocations: 136.5 kB / 353.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.00524, allocations: 71.66 kB / 353.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.005487, allocations: 267 kB / 353.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00549, allocations: 4 kB / 353.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.00549, allocations: 0 / 353.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.005496, allocations: 0 / 353.4 MB, free: 4.664 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.0005787/0.006074, allocations: 0.7746 MB / 354.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.006111, allocations: 8.031 kB / 354.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.00617, allocations: 52.61 kB / 354.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.006406, allocations: 304.7 kB / 354.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.006426, allocations: 8.312 kB / 354.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006436, allocations: 4.375 kB / 354.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006568, allocations: 98.2 kB / 354.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.006579, allocations: 3.938 kB / 354.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.006587, allocations: 0 / 354.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006595, allocations: 0 / 354.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.006635, allocations: 23.97 kB / 354.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.006816, allocations: 208.9 kB / 354.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.006939, allocations: 94.14 kB / 355 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.006969, allocations: 27.38 kB / 355 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.006981, allocations: 3.984 kB / 355 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007086, allocations: 108.3 kB / 355.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.007087, allocations: 4 kB / 355.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002317/0.007319, allocations: 177.2 kB / 355.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.007344, allocations: 77.11 kB / 355.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.007693, allocations: 0.6586 MB / 356 MB, free: 1.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.00771, allocations: 29.7 kB / 356 MB, free: 1.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.007835, allocations: 306.7 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.007874, allocations: 27.78 kB / 356.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.00791, allocations: 43.34 kB / 356.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.008008, allocations: 0.5585 MB / 357 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.008029, allocations: 11.98 kB / 357 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.008069, allocations: 58.73 kB / 357 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.008138, allocations: 66.67 kB / 357.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.008141, allocations: 0 / 357.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001376/0.008279, allocations: 149.2 kB / 357.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.008293, allocations: 4 kB / 357.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008298, allocations: 0 / 357.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.008311, allocations: 7.938 kB / 357.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.008394, allocations: 24.67 kB / 357.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.008397, allocations: 0 / 357.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.008451, allocations: 7.953 kB / 357.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008458, allocations: 7.984 kB / 357.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 8.897e-05/0.008547, allocations: 176.3 kB / 357.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.008586, allocations: 59.67 kB / 357.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.00876, allocations: 153.6 kB / 357.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008763, allocations: 7.875 kB / 357.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008765, allocations: 0 / 357.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.00877, allocations: 7.984 kB / 357.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.008993, allocations: 229 kB / 357.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.008996, allocations: 0 / 357.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.009024, allocations: 8 kB / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.009025, allocations: 0 / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.009037, allocations: 11.98 kB / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009039, allocations: 0 / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.009041, allocations: 0 / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.009231, allocations: 203.6 kB / 358.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.009283, allocations: 51.66 kB / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.009309, allocations: 0 / 358.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.009353, allocations: 12 kB / 358.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.009399, allocations: 11.92 kB / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.009418, allocations: 7.984 kB / 358.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.0097, allocations: 418.7 kB / 358.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0097, allocations: 3.938 kB / 358.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.009912, allocations: 55.92 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.0008999/0.01081, allocations: 387.7 kB / 359.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.01098, allocations: 67.53 kB / 359.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01098, allocations: 0 / 359.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.01104, allocations: 44.03 kB / 359.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.01134, allocations: 70.7 kB / 359.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.01208, allocations: 0.6278 MB / 359.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.226e-05/0.01218, allocations: 136.2 kB / 360 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.01225, 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.000126/0.01238, allocations: 118.2 kB / 360.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01238, allocations: 0 / 360.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.007859/0.02024, allocations: 4.321 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.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.323107485193759]