Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 63.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5249, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003876/0.5287, allocations: 1.82 MB / 0.5506 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.5307, allocations: 0.9824 MB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.5308, allocations: 2 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.5314, allocations: 294.5 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.5318, allocations: 213.6 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.5322, allocations: 169.2 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.5326, allocations: 251.6 kB / 0.5525 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.85e-05/0.5326, allocations: 6.375 kB / 0.5525 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.5328, allocations: 129 kB / 0.5526 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.5331, allocations: 211.6 kB / 0.5528 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.5331, allocations: 6.469 kB / 0.5528 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.5333, allocations: 45.27 kB / 0.5529 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.5335, allocations: 137.7 kB / 0.553 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.5337, allocations: 141.4 kB / 0.5531 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.5341, allocations: 361.7 kB / 0.5535 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5341, allocations: 4 kB / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5341, allocations: 1.562 kB / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.5341, allocations: 0 / 0.5535 GB, free: 9.844 MB / 398.1 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.00106/0.5352, allocations: 0.6641 MB / 0.5541 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5352, allocations: 11.2 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.5353, allocations: 48.86 kB / 0.5542 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.536, allocations: 384.8 kB / 0.5546 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.536, allocations: 9.906 kB / 0.5546 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.536, allocations: 10.95 kB / 0.5546 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.5362, allocations: 83.91 kB / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5362, allocations: 0 / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5363, allocations: 1.188 kB / 0.5547 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5363, allocations: 5.438 kB / 0.5547 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5364, allocations: 30.72 kB / 0.5547 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.5369, allocations: 342.5 kB / 0.555 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.5372, allocations: 102.1 kB / 0.5551 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.5373, allocations: 40.05 kB / 0.5552 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.5373, allocations: 9 kB / 0.5552 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.5376, allocations: 112.1 kB / 0.5553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5376, allocations: 0 / 0.5553 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005776/0.5382, allocations: 200.2 kB / 0.5555 GB, free: 8.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.5383, allocations: 82.52 kB / 0.5555 GB, free: 8.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.5396, allocations: 1.004 MB / 0.5565 GB, free: 7.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5396, allocations: 29.7 kB / 0.5566 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.5398, allocations: 236 kB / 0.5568 GB, free: 7.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.5399, allocations: 23.8 kB / 0.5568 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.54, allocations: 29.7 kB / 0.5568 GB, free: 7.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.5402, allocations: 366.8 kB / 0.5572 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.5403, allocations: 23.98 kB / 0.5572 GB, free: 6.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5404, allocations: 63.41 kB / 0.5573 GB, free: 6.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.5406, allocations: 87.86 kB / 0.5573 GB, free: 6.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5406, allocations: 0 / 0.5573 GB, free: 6.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003538/0.5409, allocations: 181.1 kB / 0.5575 GB, free: 6.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5409, allocations: 8 kB / 0.5575 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5409, allocations: 0 / 0.5575 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.541, allocations: 0 / 0.5575 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5411, allocations: 23.98 kB / 0.5576 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5411, allocations: 0 / 0.5576 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.5412, allocations: 11.95 kB / 0.5576 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.5412, allocations: 7.984 kB / 0.5576 GB, free: 6.246 MB / 398.1 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.0002644/0.5415, allocations: 237.5 kB / 0.5578 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.5416, allocations: 47.67 kB / 0.5578 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.542, allocations: 197.5 kB / 0.558 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.542, allocations: 0 / 0.558 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.542, allocations: 4 kB / 0.558 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.542, allocations: 0 / 0.558 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.5423, allocations: 316.4 kB / 0.5583 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5423, allocations: 0 / 0.5583 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.5424, allocations: 15.92 kB / 0.5584 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5424, allocations: 4 kB / 0.5584 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5424, allocations: 4 kB / 0.5584 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5424, allocations: 0 / 0.5584 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5424, allocations: 256 / 0.5584 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.5428, allocations: 225.4 kB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5429, allocations: 63.66 kB / 0.5586 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.543, allocations: 4 kB / 0.5586 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.543, allocations: 8 kB / 0.5586 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.5431, allocations: 7.984 kB / 0.5587 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.5431, allocations: 11.98 kB / 0.5587 GB, free: 5.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008463/0.544, allocations: 0.7487 MB / 0.5594 GB, free: 4.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.544, allocations: 0 / 0.5594 GB, free: 4.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.5442, allocations: 43.94 kB / 0.5594 GB, free: 4.254 MB / 398.1 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.001527/0.5458, allocations: 410 kB / 0.5598 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.5461, allocations: 88.02 kB / 0.5599 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5461, allocations: 7.938 kB / 0.5599 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5462, allocations: 35.92 kB / 0.56 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.5466, allocations: 73.17 kB / 0.56 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.5479, allocations: 0.8582 MB / 0.5609 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.5485, allocations: 0.8463 MB / 0.5617 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5486, allocations: 50.95 kB / 0.5617 GB, free: 2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.5487, allocations: 31.42 kB / 0.5618 GB, free: 1.969 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5487, allocations: 0 / 0.5618 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Templates: time 0.009147/0.5578, allocations: 3.815 MB / 0.5655 GB, free: 14.17 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.851302506402135]