Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002494/0.002494, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2223/0.2223, allocations: 46.96 MB / 360.9 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003551/0.003551, allocations: 63.91 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3551, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003798/0.3589, allocations: 1.682 MB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3608, allocations: 0.9443 MB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.3609, allocations: 7.938 kB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3612, allocations: 51.81 kB / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.3616, allocations: 99.53 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.3619, allocations: 67.73 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3621, allocations: 107.6 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.3622, allocations: 8.234 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3623, allocations: 43.78 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3624, allocations: 23.86 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3624, allocations: 4 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3626, allocations: 43.91 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.3627, allocations: 23.86 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.3627, allocations: 27.75 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.363, allocations: 129.2 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.363, allocations: 0 / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.363, allocations: 0 / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.363, allocations: 4 kB / 0.5638 GB, free: 0.9141 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.0006919/0.3637, allocations: 365.4 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3638, allocations: 12.03 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3638, allocations: 34.75 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.3639, allocations: 12.89 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3642, allocations: 159.2 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3642, allocations: 384 / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3642, allocations: 11.92 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3644, allocations: 45.69 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3644, allocations: 4 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3644, allocations: 3.984 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3644, allocations: 7.984 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.3645, allocations: 15.98 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.3647, allocations: 152.8 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3649, allocations: 62.48 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.365, allocations: 24.78 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.365, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3651, allocations: 67.39 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3651, allocations: 7.938 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002913/0.3654, allocations: 101.5 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3655, allocations: 59.39 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.3657, allocations: 270.8 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3658, allocations: 29.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.3659, allocations: 112.1 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3659, allocations: 23.83 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3659, allocations: 21.7 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3661, allocations: 326.8 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.3662, allocations: 19.98 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.3662, allocations: 25.72 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3664, allocations: 53.89 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3664, allocations: 3.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/0.3665, allocations: 85.58 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3665, allocations: 8 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3666, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3666, allocations: 0 / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.3666, allocations: 11.94 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3667, allocations: 8.031 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.3667, allocations: 7.938 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3667, allocations: 8 kB / 0.5659 GB, free: 14.58 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.0001253/0.3668, allocations: 133.8 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.3669, allocations: 11.91 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3671, allocations: 106.7 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3671, allocations: 0 / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3671, allocations: 0 / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3671, allocations: 0 / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3673, allocations: 168.7 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3673, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.3673, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3673, allocations: 4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3673, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3673, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3673, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.3675, allocations: 121.1 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.3676, allocations: 15.95 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3676, allocations: 11.94 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.3676, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3677, allocations: 11.92 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3677, allocations: 7.938 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.3679, allocations: 204.6 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3681, allocations: 23.92 kB / 0.5667 GB, free: 13.68 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.002018/0.3701, allocations: 0.9897 MB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.3703, allocations: 43.92 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3703, allocations: 0 / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.3704, allocations: 28.05 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3706, allocations: 27.8 kB / 0.5678 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3726, allocations: 1.698 MB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3727, allocations: 101.7 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.392e-05/0.3728, allocations: 16.47 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.3729, allocations: 47.36 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3729, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.4041, allocations: 4.156 MB / 0.5736 GB, free: 6.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.81, allocations: 2.578 kB / 0.5736 GB, free: 6.691 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 14.956705856136978]