Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001969/0.001969, 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.002431/0.002431, allocations: 208.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.446/1.446, 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.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.24/0.24, allocations: 44.94 MB / 358.8 MB, free: 6.035 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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.002108/0.002108, allocations: 63.89 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 65.47 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003632/0.325, allocations: 1.663 MB / 0.5587 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3269, allocations: 0.9627 MB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.3269, allocations: 0 / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.3272, allocations: 47.75 kB / 0.5596 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3276, allocations: 103.5 kB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.3278, allocations: 75.73 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3279, allocations: 107.6 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.328, allocations: 12.17 kB / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.3281, allocations: 39.8 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.3281, allocations: 23.86 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3282, allocations: 4 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.3283, allocations: 35.97 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.3283, allocations: 27.92 kB / 0.56 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.3284, allocations: 31.73 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3286, allocations: 129.2 kB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3286, allocations: 0 / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.3286, allocations: 0 / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3286, allocations: 0 / 0.5602 GB, free: 4.23 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.0006422/0.3293, allocations: 365.4 kB / 0.5605 GB, free: 3.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3293, allocations: 15.97 kB / 0.5606 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.3294, allocations: 34.73 kB / 0.5606 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3294, allocations: 8.891 kB / 0.5606 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3297, allocations: 167.2 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3297, allocations: 384 / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3298, allocations: 3.938 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3299, allocations: 53.61 kB / 0.5608 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3299, allocations: 0 / 0.5608 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3299, allocations: 4 kB / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3299, allocations: 0 / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.33, allocations: 19.98 kB / 0.5608 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.3302, allocations: 160.8 kB / 0.561 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3304, allocations: 58.55 kB / 0.5611 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.3305, allocations: 20.84 kB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.3305, allocations: 0 / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.3307, allocations: 71.33 kB / 0.5611 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3307, allocations: 0 / 0.5611 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003184/0.331, allocations: 105.6 kB / 0.5612 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.331, allocations: 51.41 kB / 0.5613 GB, free: 2.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.3313, allocations: 275.8 kB / 0.5616 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3314, allocations: 25.7 kB / 0.5616 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.3315, allocations: 124.1 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3315, allocations: 23.81 kB / 0.5617 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3315, allocations: 17.72 kB / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.3318, allocations: 326.8 kB / 0.562 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.3318, allocations: 19.98 kB / 0.5621 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.3319, allocations: 25.7 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.332, allocations: 49.7 kB / 0.5621 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.332, allocations: 3.938 kB / 0.5621 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.3322, allocations: 89.53 kB / 0.5622 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3322, allocations: 11.94 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3322, allocations: 0 / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3322, allocations: 0 / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.3323, allocations: 11.98 kB / 0.5623 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3323, allocations: 0 / 0.5623 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.3324, allocations: 11.89 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3324, allocations: 4.156 kB / 0.5623 GB, free: 1.902 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.000132/0.3325, allocations: 137.7 kB / 0.5624 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3325, allocations: 15.91 kB / 0.5624 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.3328, allocations: 111.1 kB / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3328, allocations: 0 / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3328, allocations: 64 / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3328, allocations: 4 kB / 0.5625 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.333, allocations: 164.7 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.333, allocations: 0 / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.333, allocations: 8 kB / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.333, allocations: 0 / 0.5627 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.333, allocations: 7.984 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.333, allocations: 0 / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.333, allocations: 3.938 kB / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3332, allocations: 125 kB / 0.5628 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3332, allocations: 11.91 kB / 0.5628 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3333, allocations: 0 / 0.5628 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.3333, allocations: 4 kB / 0.5628 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3333, allocations: 7.984 kB / 0.5628 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3334, allocations: 4 kB / 0.5628 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3336, allocations: 204.6 kB / 0.563 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3336, allocations: 0 / 0.563 GB, free: 1.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3338, allocations: 23.94 kB / 0.5631 GB, free: 1.004 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.001971/0.3357, allocations: 1.001 MB / 0.564 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3359, allocations: 39.97 kB / 0.5641 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3359, allocations: 0 / 0.5641 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.336, allocations: 19.94 kB / 0.5641 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3363, allocations: 30.78 kB / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.3382, allocations: 1.69 MB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3383, allocations: 105.8 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.3384, allocations: 12.48 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.3385, allocations: 43.42 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3385, allocations: 0 / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.369, allocations: 4.183 MB / 0.57 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.66, allocations: 0 / 0.57 GB, free: 9.984 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.719826226122677]