Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001932/0.001932, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002428/0.002428, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3139/0.3139, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003353/0.003353, allocations: 67.89 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3342, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003138/0.3373, allocations: 1.678 MB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3391, allocations: 0.9481 MB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.3391, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3394, allocations: 67.72 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.3397, allocations: 107.6 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3399, allocations: 71.73 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3401, allocations: 107.6 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3401, allocations: 4.234 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.3402, allocations: 51.77 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3403, allocations: 47.81 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3403, allocations: 4 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.3404, allocations: 39.92 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.3405, allocations: 19.92 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3405, allocations: 23.81 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3407, allocations: 110 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3407, allocations: 0 / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3407, allocations: 0 / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3407, allocations: 0 / 0.5651 GB, free: 0.8438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005267/0.3413, allocations: 337.6 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3413, allocations: 12.03 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.3414, allocations: 12.84 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3416, allocations: 159 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3417, allocations: 384 / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3417, allocations: 8.109 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3418, allocations: 45.69 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3418, allocations: 0 / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3418, allocations: 3.984 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3418, allocations: 0 / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.3419, allocations: 19.98 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.3421, allocations: 129.3 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3423, allocations: 54.59 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.3423, allocations: 24.8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3423, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.3425, allocations: 71.33 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3425, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002909/0.3428, allocations: 101.5 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3428, allocations: 51.41 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.343, allocations: 206.2 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.343, allocations: 25.7 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3431, allocations: 104.1 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3431, allocations: 15.91 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.3431, allocations: 17.72 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3433, allocations: 326.8 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.3433, allocations: 15.98 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.3434, allocations: 29.7 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3435, allocations: 49.89 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3435, allocations: 4 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.3437, allocations: 85.53 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3437, allocations: 12.03 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3437, allocations: 0 / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3437, allocations: 0 / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.3438, allocations: 19.86 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3438, allocations: 4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.3438, allocations: 3.938 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3439, allocations: 4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001019/0.344, allocations: 121.8 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.344, allocations: 11.89 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.3442, allocations: 102.8 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3442, allocations: 0 / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3442, allocations: 3.938 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3442, allocations: 4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3444, allocations: 137.2 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3444, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.3444, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3444, allocations: 3.938 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3444, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3444, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3444, allocations: 4 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3446, allocations: 121.2 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.3446, allocations: 15.84 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3446, allocations: 0 / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.3447, allocations: 8 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3447, allocations: 3.984 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3447, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3449, allocations: 156.2 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.3451, allocations: 20 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001611/0.3467, allocations: 444.1 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3469, allocations: 51.97 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3469, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.3469, allocations: 19.94 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3472, allocations: 27.95 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.3477, allocations: 239.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.3478, allocations: 89.38 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3478, allocations: 19.42 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3478, allocations: 3.938 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Templates: time 0.003743/0.3515, allocations: 1.746 MB / 0.5702 GB, free: 11.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.095154668204486]