Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001526/0.001526, 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.001454/0.001454, 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2175/0.2175, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",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.002111/0.002111, allocations: 63.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3259, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003252/0.3291, allocations: 1.673 MB / 0.5587 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.331, allocations: 0.9549 MB / 0.5596 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.3311, allocations: 3.938 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.3314, allocations: 59.75 kB / 0.5597 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.3318, allocations: 95.53 kB / 0.5597 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3319, allocations: 79.72 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3321, allocations: 99.69 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3322, allocations: 4.234 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.3322, allocations: 39.8 kB / 0.56 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.3323, allocations: 39.78 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3323, allocations: 4 kB / 0.56 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.3324, allocations: 31.98 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.3325, allocations: 23.92 kB / 0.5601 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.3325, allocations: 39.66 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3328, allocations: 121.3 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3328, allocations: 0 / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3328, allocations: 4 kB / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3328, allocations: 0 / 0.5602 GB, free: 4.254 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.0006587/0.3334, allocations: 365.4 kB / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3335, allocations: 12.03 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.3335, allocations: 38.73 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3336, allocations: 12.89 kB / 0.5606 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3339, allocations: 155.2 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3339, allocations: 4.375 kB / 0.5608 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3339, allocations: 7.875 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3341, allocations: 61.61 kB / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3341, allocations: 0 / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3341, allocations: 0 / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3341, allocations: 0 / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.3342, allocations: 19.98 kB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.3344, allocations: 156.8 kB / 0.561 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3346, allocations: 58.5 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3346, allocations: 20.84 kB / 0.5611 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3347, allocations: 7.938 kB / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.3348, allocations: 59.39 kB / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3348, allocations: 0 / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002961/0.3351, allocations: 109.6 kB / 0.5612 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3352, allocations: 55.41 kB / 0.5613 GB, free: 2.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.3355, allocations: 275.8 kB / 0.5616 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3355, allocations: 25.7 kB / 0.5616 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.3356, allocations: 120.1 kB / 0.5617 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3356, allocations: 19.83 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.3357, allocations: 21.72 kB / 0.5617 GB, free: 2.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3358, allocations: 322.8 kB / 0.5621 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.3359, allocations: 15.98 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.3359, allocations: 33.7 kB / 0.5621 GB, free: 2.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.336, allocations: 49.7 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.336, allocations: 3.938 kB / 0.5622 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001693/0.3362, allocations: 85.53 kB / 0.5622 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3362, allocations: 6.969 kB / 0.5622 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3362, allocations: 0 / 0.5622 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3362, allocations: 4 kB / 0.5622 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.3363, allocations: 11.98 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3363, allocations: 0 / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3364, allocations: 7.953 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3364, allocations: 320 / 0.5623 GB, free: 1.941 MB / 398.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.0001379/0.3365, allocations: 149.7 kB / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3365, allocations: 15.91 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3368, allocations: 102.8 kB / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3368, allocations: 0 / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3368, allocations: 7.938 kB / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3368, allocations: 0 / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.337, allocations: 168.7 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.337, allocations: 0 / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.337, allocations: 4 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.337, allocations: 0 / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.337, allocations: 7.984 kB / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.337, allocations: 3.938 kB / 0.5627 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.337, allocations: 0 / 0.5627 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.3372, allocations: 121 kB / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.3373, allocations: 11.91 kB / 0.5628 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3373, allocations: 4 kB / 0.5628 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.3373, allocations: 4 kB / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3374, allocations: 11.92 kB / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3374, allocations: 0 / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3376, allocations: 204.6 kB / 0.563 GB, free: 1.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3376, allocations: 4 kB / 0.563 GB, free: 1.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.3378, allocations: 23.94 kB / 0.5631 GB, free: 1.031 MB / 398.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.002037/0.3398, allocations: 0.9886 MB / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.34, allocations: 43.97 kB / 0.5641 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.34, allocations: 0 / 0.5641 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.3401, allocations: 27.88 kB / 0.5641 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3404, allocations: 28.47 kB / 0.5641 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3423, allocations: 1.694 MB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3424, allocations: 101.8 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.3425, allocations: 16.72 kB / 0.5659 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.3426, allocations: 39.42 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3426, allocations: 4 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3724, allocations: 4.161 MB / 0.57 GB, free: 10.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 8 kB / 0.57 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.786411279812455]