Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001422/0.001422, 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.001442/0.001442, allocations: 210.5 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2334/0.2334, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.91 kB / 0.4962 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 66.04 MB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003226/0.3561, allocations: 1.682 MB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3579, allocations: 0.9481 MB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.3579, allocations: 4 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.3582, allocations: 55.75 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.3586, allocations: 95.59 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3588, allocations: 75.67 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.359, allocations: 99.69 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.359, allocations: 12.22 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.3591, allocations: 39.8 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.3592, allocations: 23.86 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3592, allocations: 11.98 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.3593, allocations: 35.92 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.3594, allocations: 27.86 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.3594, allocations: 31.73 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3597, allocations: 125.3 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3597, allocations: 0 / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3597, allocations: 0 / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3597, allocations: 0 / 0.5638 GB, free: 0.9219 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.0005669/0.3602, allocations: 369.4 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3603, allocations: 8.031 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.3603, allocations: 42.69 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3604, allocations: 12.88 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3606, allocations: 159.2 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3607, allocations: 384 / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3607, allocations: 7.938 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3608, allocations: 49.67 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3608, allocations: 0 / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3608, allocations: 0 / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3608, allocations: 0 / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3609, allocations: 19.98 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3612, allocations: 160.8 kB / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3614, allocations: 58.5 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.3614, allocations: 20.84 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3614, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.3616, allocations: 63.39 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3616, allocations: 4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002965/0.3619, allocations: 105.5 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3619, allocations: 51.41 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.3622, allocations: 278.8 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3622, allocations: 29.7 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.3623, allocations: 120 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.3624, allocations: 27.77 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3624, allocations: 17.72 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3626, allocations: 322.8 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.3626, allocations: 19.98 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.3627, allocations: 29.7 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3628, allocations: 49.64 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3628, allocations: 7.938 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.363, allocations: 85.83 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.363, allocations: 4 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.363, allocations: 4.062 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.363, allocations: 7.938 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.3631, allocations: 11.98 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3631, allocations: 0 / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.3632, allocations: 11.95 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3632, allocations: 4 kB / 0.5659 GB, free: 14.59 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.0001211/0.3633, allocations: 133.8 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3633, allocations: 15.91 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3636, allocations: 106.7 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3636, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3636, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3636, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3637, allocations: 168.7 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3637, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3638, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3638, allocations: 0 / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3638, allocations: 7.984 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3638, allocations: 4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3638, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.364, allocations: 121 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.364, allocations: 15.91 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.364, allocations: 0 / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.3641, allocations: 7.938 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3641, allocations: 3.984 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3641, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.3643, allocations: 208.6 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3643, allocations: 3.938 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.3645, allocations: 19.94 kB / 0.5667 GB, free: 13.7 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.002053/0.3666, allocations: 0.9961 MB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3668, allocations: 47.91 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3668, allocations: 0 / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/0.3668, allocations: 16 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3671, allocations: 36.55 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3691, allocations: 1.698 MB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3692, allocations: 109.6 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.881e-05/0.3693, allocations: 16.42 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.3693, allocations: 39.42 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3693, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4005, allocations: 4.161 MB / 0.5736 GB, free: 6.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 9.938 kB / 0.5736 GB, free: 6.691 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 15.124769425950944]