Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001392/0.001392, allocations: 113.6 kB / 17.12 MB, free: 5.914 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.001555/0.001555, allocations: 211.2 kB / 20.09 MB, free: 2.957 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.635/1.635, 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.3418/0.3418, allocations: 44.22 MB / 326.6 MB, free: 6.836 MB / 254.1 MB " [Timeout remaining time 180] 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.002168/0.002168, allocations: 71.89 kB / 462.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.277, allocations: 61 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002664/0.2796, allocations: 1.712 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2807, allocations: 0.8116 MB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.2808, allocations: 5.25 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.2811, allocations: 48.28 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.2813, allocations: 67.61 kB / 0.5136 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2816, allocations: 82.11 kB / 0.5137 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2817, allocations: 93.75 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.2818, allocations: 11.77 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.2819, allocations: 41.98 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.282, allocations: 44.48 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.282, allocations: 3.594 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.2821, allocations: 39.23 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.2821, allocations: 27.7 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.2822, allocations: 44.02 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.2824, allocations: 133 kB / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2824, allocations: 0 / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2824, allocations: 5.312 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2824, allocations: 0 / 0.5141 GB, free: 10.79 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.0004488/0.2828, allocations: 438.6 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2829, allocations: 12.42 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2829, allocations: 36.44 kB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.2829, allocations: 22.73 kB / 0.5146 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.2831, allocations: 222.9 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2832, allocations: 1.25 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2832, allocations: 10.41 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2833, allocations: 53.58 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2833, allocations: 0.6875 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2833, allocations: 5.094 kB / 0.5149 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2833, allocations: 0 / 0.5149 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.2834, allocations: 18.92 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.2837, allocations: 294.6 kB / 0.5152 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2838, allocations: 55.83 kB / 0.5152 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.2839, allocations: 20.78 kB / 0.5152 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2839, allocations: 1.188 kB / 0.5152 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.284, allocations: 73.33 kB / 0.5153 GB, free: 9.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.284, allocations: 0 / 0.5153 GB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005005/0.2845, allocations: 185.2 kB / 0.5155 GB, free: 9.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2846, allocations: 51.41 kB / 0.5155 GB, free: 9.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2848, allocations: 271.6 kB / 0.5158 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.2848, allocations: 25.7 kB / 0.5158 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2848, allocations: 111.6 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2848, allocations: 27.75 kB / 0.516 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.2849, allocations: 25.55 kB / 0.516 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.2849, allocations: 327.8 kB / 0.5163 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.285, allocations: 21.55 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.285, allocations: 35.75 kB / 0.5163 GB, free: 8.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.2851, allocations: 58.64 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2851, allocations: 1.219 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.2853, allocations: 112.5 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2853, allocations: 5.5 kB / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2853, allocations: 0 / 0.5165 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2853, allocations: 5.344 kB / 0.5165 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2854, allocations: 13.38 kB / 0.5165 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2854, allocations: 1.219 kB / 0.5165 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.2855, allocations: 10.77 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.2855, allocations: 1.438 kB / 0.5165 GB, free: 8.516 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 7.186e-05/0.2855, allocations: 142.1 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.2856, allocations: 18.75 kB / 0.5167 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.2856, allocations: 24.27 kB / 0.5167 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2856, allocations: 1.375 kB / 0.5167 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2856, allocations: 0 / 0.5167 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2856, allocations: 5.312 kB / 0.5167 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.286, allocations: 402.6 kB / 0.5171 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.286, allocations: 0 / 0.5171 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.286, allocations: 12.23 kB / 0.5171 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.286, allocations: 9.297 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.286, allocations: 1.375 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.286, allocations: 1.375 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.286, allocations: 0 / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2862, allocations: 205.9 kB / 0.5173 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.2862, allocations: 93.08 kB / 0.5174 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2862, allocations: 13.67 kB / 0.5174 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.2863, allocations: 2.75 kB / 0.5174 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.2863, allocations: 2.75 kB / 0.5174 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2864, allocations: 12.11 kB / 0.5175 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.2865, allocations: 196 kB / 0.5176 GB, free: 7.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2865, allocations: 0 / 0.5176 GB, free: 7.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.2868, allocations: 20.5 kB / 0.5177 GB, free: 7.523 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.001867/0.2886, allocations: 1.121 MB / 0.5188 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2888, allocations: 48.98 kB / 0.5188 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2888, allocations: 0 / 0.5188 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.2889, allocations: 31.05 kB / 0.5188 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2893, allocations: 33.91 kB / 0.5189 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2907, allocations: 1.813 MB / 0.5206 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2908, allocations: 0.7119 MB / 0.5213 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.2909, allocations: 17.17 kB / 0.5213 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.2909, allocations: 47.42 kB / 0.5214 GB, free: 3.852 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2909, allocations: 0 / 0.5214 GB, free: 3.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.3158, allocations: 3.723 MB / 0.525 GB, free: 64 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.393, allocations: 3.859 kB / 0.525 GB, free: 64 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.557977560994914]