Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001288/0.001288, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002278/0.002278, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.3185/0.3185, allocations: 44.91 MB / 359.6 MB, free: 6.336 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 67.89 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 65.46 MB / 0.5583 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003357/0.3299, allocations: 1.843 MB / 0.5601 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3318, allocations: 1.116 MB / 0.5612 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.3319, allocations: 0 / 0.5612 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.3324, allocations: 315.2 kB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.3329, allocations: 259.2 kB / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3331, allocations: 107.7 kB / 0.5618 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.3335, allocations: 267.2 kB / 0.5621 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.3335, allocations: 5.812 kB / 0.5621 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3337, allocations: 143.5 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.334, allocations: 219.4 kB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.334, allocations: 8 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3341, allocations: 55.92 kB / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.3343, allocations: 135.6 kB / 0.5626 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3344, allocations: 150.7 kB / 0.5628 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.3349, allocations: 380.6 kB / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3349, allocations: 3.938 kB / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3349, allocations: 0 / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3349, allocations: 0 / 0.5631 GB, free: 2.754 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.0009975/0.3359, allocations: 0.6902 MB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3359, allocations: 8.031 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.336, allocations: 56.59 kB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.3366, allocations: 394.5 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3367, allocations: 4.375 kB / 0.5643 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3367, allocations: 8.125 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3369, allocations: 99.28 kB / 0.5644 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3369, allocations: 0 / 0.5644 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3369, allocations: 4 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3369, allocations: 0 / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.337, allocations: 27.97 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3374, allocations: 353.4 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.3377, allocations: 105.2 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.3378, allocations: 37.64 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3378, allocations: 0 / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.338, allocations: 113 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.338, allocations: 0 / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004731/0.3385, allocations: 197.6 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.3386, allocations: 85.11 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3397, allocations: 1.05 MB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3397, allocations: 29.7 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.3399, allocations: 240.1 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.34, allocations: 35.69 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.34, allocations: 29.7 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3402, allocations: 366.8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.3403, allocations: 28.11 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3404, allocations: 67.34 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3406, allocations: 87.42 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3406, allocations: 3.938 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.3409, allocations: 177.2 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3409, allocations: 4 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3409, allocations: 3.938 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3409, allocations: 8.062 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.341, allocations: 19.98 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.341, allocations: 7.938 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3411, allocations: 11.94 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3411, allocations: 4 kB / 0.5673 GB, free: 14.2 MB / 414.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.0002293/0.3414, allocations: 225.7 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3414, allocations: 51.62 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.3418, allocations: 202.1 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3418, allocations: 4 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3418, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3418, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.3422, allocations: 328.4 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3422, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.3422, allocations: 8 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3422, allocations: 3.984 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3422, allocations: 4 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3422, allocations: 3.984 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3422, allocations: 3.938 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3426, allocations: 221.4 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3427, allocations: 67.59 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.3427, allocations: 8 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3428, allocations: 3.984 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3429, allocations: 11.98 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.3429, allocations: 12 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008269/0.3437, allocations: 0.78 MB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3437, allocations: 0 / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.344, allocations: 44 kB / 0.5693 GB, free: 12.16 MB / 414.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.001504/0.3455, allocations: 412 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3457, allocations: 83.89 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3457, allocations: 128 / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3458, allocations: 43.92 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3463, allocations: 87.47 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3476, allocations: 0.9301 MB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.3481, allocations: 0.8507 MB / 0.5716 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.3482, allocations: 31.42 kB / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3482, allocations: 0 / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of Templates: time 0.008965/0.3571, allocations: 5.244 MB / 0.5767 GB, free: 4.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 8.305041065905243]