Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001325/0.001325, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001581/0.001581, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2185/0.2185, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [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.002136/0.002136, allocations: 63.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004834/0.3553, allocations: 1.866 MB / 0.5596 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3579, allocations: 1.069 MB / 0.5607 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.358, allocations: 0 / 0.5607 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3583, allocations: 63.72 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.3586, allocations: 119.4 kB / 0.5609 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.3592, allocations: 211.3 kB / 0.5611 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.3594, allocations: 211.3 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3596, allocations: 15.58 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3597, allocations: 83.73 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.3599, allocations: 111.6 kB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.3599, allocations: 12 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.36, allocations: 43.98 kB / 0.5615 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.3601, allocations: 47.83 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.474e-05/0.3602, allocations: 71.58 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3605, allocations: 207.1 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3605, allocations: 0 / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3605, allocations: 3.938 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3605, allocations: 0 / 0.5618 GB, free: 3.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001185/0.3616, allocations: 0.5122 MB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3617, allocations: 12.03 kB / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.3617, allocations: 192 / 0.5623 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.3617, allocations: 38.73 kB / 0.5624 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.3618, allocations: 16.84 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3621, allocations: 179.2 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3621, allocations: 12.12 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3621, allocations: 7.984 kB / 0.5626 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3627, allocations: 145.5 kB / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3627, allocations: 0 / 0.5627 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3627, allocations: 3.938 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3627, allocations: 4 kB / 0.5627 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.3635, allocations: 167.8 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.3644, allocations: 411.5 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/0.3652, allocations: 194.4 kB / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.3656, allocations: 92.75 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3656, allocations: 4 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/0.3662, allocations: 171.1 kB / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3662, allocations: 0 / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003882/0.3701, allocations: 0.8322 MB / 0.5645 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3702, allocations: 59.39 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3705, allocations: 260.9 kB / 0.5648 GB, free: 404 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3705, allocations: 29.7 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.3706, allocations: 124.7 kB / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.3706, allocations: 39.83 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.3707, allocations: 33.7 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3709, allocations: 338.8 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.3716, allocations: 171.8 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/0.3724, allocations: 178.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3738, allocations: 375.8 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3738, allocations: 0 / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001622/0.3754, allocations: 480.4 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.3755, allocations: 65.75 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3755, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3755, allocations: 3.938 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3759, allocations: 67.91 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.376, allocations: 7.938 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.3764, allocations: 68 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3764, allocations: 11.94 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001582/0.3766, allocations: 137.8 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3766, allocations: 19.91 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.3782, allocations: 422.9 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3782, allocations: 3.938 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3782, allocations: 3.938 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3782, allocations: 4 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3802, allocations: 0.6964 MB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3802, allocations: 3.938 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.3805, allocations: 63.91 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3805, allocations: 4 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3806, allocations: 4 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3806, allocations: 0 / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3806, allocations: 3.938 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.3821, allocations: 491 kB / 0.5685 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.3821, allocations: 23.8 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.3822, allocations: 4 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.3826, allocations: 67.89 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3827, allocations: 39.94 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3828, allocations: 11.98 kB / 0.5687 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.383, allocations: 196.5 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.3833, allocations: 43.98 kB / 0.5689 GB, free: 12.08 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003485/0.3868, allocations: 1.33 MB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3885, allocations: 474.3 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3885, allocations: 0 / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007648/0.3892, allocations: 183.8 kB / 0.5708 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3897, allocations: 36.64 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.3964, allocations: 2.907 MB / 0.5737 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3968, allocations: 0.728 MB / 0.5744 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.397, allocations: 33.34 kB / 0.5745 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3972, allocations: 51.42 kB / 0.5745 GB, free: 6.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3972, allocations: 0 / 0.5745 GB, free: 6.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.4242, allocations: 6.096 MB / 0.5805 GB, free: 328 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 4.062 kB / 0.5805 GB, free: 324 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.965723008965142] Failed to read output from testmodel.py, exit status != 0: 12.268192530958913 12.285411213 11.921509223 Calling exit ...