Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001946/0.001946, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002365/0.002365, allocations: 217.1 kB / 23.73 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2173/0.2173, allocations: 44.94 MB / 358.8 MB, free: 6.156 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.002211/0.002211, allocations: 71.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2761, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002683/0.2788, allocations: 1.726 MB / 0.5587 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2803, allocations: 0.9754 MB / 0.5597 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.2804, allocations: 4 kB / 0.5597 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.2806, allocations: 83.69 kB / 0.5598 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.2809, allocations: 127.5 kB / 0.5599 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.2811, allocations: 79.67 kB / 0.56 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2812, allocations: 119.7 kB / 0.5601 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.2813, allocations: 17.8 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.2814, allocations: 55.77 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.2815, allocations: 59.75 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2815, allocations: 4 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.2816, allocations: 67.91 kB / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.2817, allocations: 19.92 kB / 0.5603 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.2817, allocations: 31.8 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2819, allocations: 147.4 kB / 0.5605 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2819, allocations: 0 / 0.5605 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2819, allocations: 0 / 0.5605 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2819, allocations: 0 / 0.5605 GB, free: 4.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000478/0.2824, allocations: 373.3 kB / 0.5608 GB, free: 3.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2824, allocations: 12.03 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.2825, allocations: 38.75 kB / 0.5609 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.2825, allocations: 12.84 kB / 0.5609 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.2827, allocations: 158.3 kB / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2827, allocations: 384 / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2827, allocations: 15.94 kB / 0.561 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2829, allocations: 57.67 kB / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2829, allocations: 0 / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.2829, allocations: 0 / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2829, allocations: 0 / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.283, allocations: 35.91 kB / 0.5611 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2833, allocations: 267.9 kB / 0.5614 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.2835, allocations: 58.55 kB / 0.5614 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.2836, allocations: 20.97 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2836, allocations: 7.938 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.2837, allocations: 79.34 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2837, allocations: 0 / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006535/0.2844, allocations: 249.2 kB / 0.5618 GB, free: 2.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2844, allocations: 59.34 kB / 0.5618 GB, free: 2.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2846, allocations: 227.5 kB / 0.5621 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2846, allocations: 25.7 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.2847, allocations: 116.1 kB / 0.5622 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.2847, allocations: 31.81 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.2848, allocations: 33.7 kB / 0.5623 GB, free: 1.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2849, allocations: 326.8 kB / 0.5626 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.285, allocations: 31.98 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.285, allocations: 45.64 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2852, allocations: 77.7 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2852, allocations: 4 kB / 0.5627 GB, free: 1.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002089/0.2854, allocations: 133.5 kB / 0.5628 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2854, allocations: 6.5 kB / 0.5628 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2854, allocations: 8.031 kB / 0.5629 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2854, allocations: 0 / 0.5629 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.2855, allocations: 23.92 kB / 0.5629 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2855, allocations: 0 / 0.5629 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.2855, allocations: 4 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2856, allocations: 7.984 kB / 0.5629 GB, free: 1.293 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 (13): * Single equations (assignments): 13 * 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 9.676e-05/0.2856, allocations: 133 kB / 0.563 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2857, allocations: 19.91 kB / 0.563 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.286, allocations: 151.6 kB / 0.5632 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.286, allocations: 3.938 kB / 0.5632 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.286, allocations: 11.94 kB / 0.5632 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.286, allocations: 7.984 kB / 0.5632 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.2865, allocations: 415.2 kB / 0.5636 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2865, allocations: 0 / 0.5636 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.2865, allocations: 15.98 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2865, allocations: 7.938 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2865, allocations: 4 kB / 0.5636 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2865, allocations: 4 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2865, allocations: 0 / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2868, allocations: 245.1 kB / 0.5639 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.2868, allocations: 11.91 kB / 0.5639 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.2868, allocations: 4 kB / 0.5639 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.2869, allocations: 11.98 kB / 0.5639 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.2869, allocations: 11.92 kB / 0.5639 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.287, allocations: 4.094 kB / 0.5639 GB, free: 160 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.2871, allocations: 177 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2871, allocations: 0 / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.2874, allocations: 35.92 kB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002292/0.2896, allocations: 1.226 MB / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.2898, allocations: 79.84 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2898, allocations: 0 / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.2899, allocations: 43.91 kB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2902, allocations: 37.8 kB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.292, allocations: 1.833 MB / 0.5672 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.2921, allocations: 97.77 kB / 0.5673 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.2922, allocations: 20.42 kB / 0.5674 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.2922, allocations: 51.41 kB / 0.5674 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2922, allocations: 4 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07547/0.3677, allocations: 4.564 MB / 0.5719 GB, free: 8.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.03, allocations: 7.922 kB / 0.5719 GB, free: 8.16 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.101768984925002]