Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001759/0.001759, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.002105/0.002105, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4316/0.4316, allocations: 44.23 MB / 326.6 MB, free: 6.793 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00235/0.00235, allocations: 75.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3818, allocations: 61 MB / 0.511 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003291/0.3851, allocations: 1.709 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3864, allocations: 0.8242 MB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.3865, allocations: 0 / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3869, allocations: 79.67 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.3871, allocations: 81.5 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3874, allocations: 86.39 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3875, allocations: 105.3 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3877, allocations: 13.05 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3878, allocations: 51.19 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3879, allocations: 67.92 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3879, allocations: 3.75 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.388, allocations: 51.06 kB / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.388, allocations: 24.33 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3881, allocations: 31.78 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3883, allocations: 112.7 kB / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3883, allocations: 0 / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3883, allocations: 1.531 kB / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3884, allocations: 0 / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005796/0.3889, allocations: 432.6 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.389, allocations: 14.11 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.389, allocations: 39.83 kB / 0.5146 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.3891, allocations: 14.47 kB / 0.5146 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.3893, allocations: 208.6 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3894, allocations: 1.844 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3894, allocations: 9.469 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3895, allocations: 49.98 kB / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3895, allocations: 0 / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3895, allocations: 9.219 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3896, allocations: 1.344 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3896, allocations: 22.11 kB / 0.5149 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.3899, allocations: 288.2 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3901, allocations: 51.95 kB / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.3902, allocations: 20.73 kB / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3902, allocations: 0 / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.3903, allocations: 68.77 kB / 0.5153 GB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3903, allocations: 2.906 kB / 0.5153 GB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.3909, allocations: 189 kB / 0.5155 GB, free: 9.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3909, allocations: 51.41 kB / 0.5156 GB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.3911, allocations: 225.7 kB / 0.5158 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3911, allocations: 27.08 kB / 0.5158 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.3912, allocations: 109.6 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3912, allocations: 18.61 kB / 0.5159 GB, free: 9.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3912, allocations: 24.58 kB / 0.516 GB, free: 9.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.3913, allocations: 327 kB / 0.5163 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.3914, allocations: 15 kB / 0.5163 GB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.3914, allocations: 39.45 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3915, allocations: 63.77 kB / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3915, allocations: 0 / 0.5164 GB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.3917, allocations: 104.2 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3917, allocations: 8.109 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3917, allocations: 5.312 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3917, allocations: 1.375 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.3918, allocations: 16.41 kB / 0.5165 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3918, allocations: 5.375 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3919, allocations: 6.688 kB / 0.5165 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3919, allocations: 6.734 kB / 0.5165 GB, free: 8.52 MB / 382.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 (10): * Single equations (assignments): 10 * 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 8.351e-05/0.392, allocations: 124.8 kB / 0.5167 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.392, allocations: 9.453 kB / 0.5167 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.392, allocations: 18.89 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.392, allocations: 1.375 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.392, allocations: 0 / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3921, allocations: 9.312 kB / 0.5167 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.3924, allocations: 398.5 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3924, allocations: 1.469 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.3924, allocations: 14.3 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3924, allocations: 5.062 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3925, allocations: 2.312 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3925, allocations: 1.25 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3925, allocations: 0 / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.3927, allocations: 205.1 kB / 0.5173 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.3927, allocations: 92.16 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3927, allocations: 9.516 kB / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.3928, allocations: 6.844 kB / 0.5174 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3928, allocations: 2.469 kB / 0.5174 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3928, allocations: 9.109 kB / 0.5174 GB, free: 7.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.393, allocations: 158.7 kB / 0.5176 GB, free: 7.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.393, allocations: 4.125 kB / 0.5176 GB, free: 7.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3932, allocations: 20.69 kB / 0.5176 GB, free: 7.555 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002056/0.3953, allocations: 1.107 MB / 0.5187 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.3955, allocations: 51.67 kB / 0.5187 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3955, allocations: 0 / 0.5187 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.3956, allocations: 28.14 kB / 0.5187 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3959, allocations: 45.03 kB / 0.5188 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3976, allocations: 1.694 MB / 0.5204 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3978, allocations: 0.708 MB / 0.5211 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.129e-05/0.3979, allocations: 20.48 kB / 0.5211 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.3979, allocations: 35.42 kB / 0.5212 GB, free: 4.078 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3979, allocations: 0 / 0.5212 GB, free: 4.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.4263, allocations: 3.505 MB / 0.5246 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.326, allocations: 6.344 kB / 0.5246 GB, free: 0.5039 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.882222854997963]