Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001498/0.001498, allocations: 114.5 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.001761/0.001761, 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.821/1.821, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.4246/0.4246, allocations: 44.23 MB / 326.6 MB, free: 6.773 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.002442/0.002442, allocations: 71.89 kB / 462.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4235, allocations: 61 MB / 0.511 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003365/0.4269, allocations: 1.924 MB / 0.5129 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4282, allocations: 0.8544 MB / 0.5137 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4283, allocations: 1.781 kB / 0.5137 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.4287, allocations: 42.02 kB / 0.5138 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.4289, allocations: 59.7 kB / 0.5138 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.4292, allocations: 109.2 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.4295, allocations: 137.9 kB / 0.5141 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.4296, allocations: 17.73 kB / 0.5141 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4297, allocations: 65.7 kB / 0.5141 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.4298, allocations: 53.45 kB / 0.5142 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.4299, allocations: 6.875 kB / 0.5142 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.43, allocations: 45.59 kB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.43, allocations: 27.42 kB / 0.5143 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.4301, allocations: 50.89 kB / 0.5143 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.4304, allocations: 153.8 kB / 0.5145 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4304, allocations: 0 / 0.5145 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4304, allocations: 0.9062 kB / 0.5145 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4304, allocations: 0 / 0.5145 GB, free: 10.76 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006829/0.4311, allocations: 484.4 kB / 0.5149 GB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4311, allocations: 13.95 kB / 0.5149 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.4312, allocations: 47.97 kB / 0.515 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.4312, allocations: 16.19 kB / 0.515 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4316, allocations: 217.6 kB / 0.5152 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4316, allocations: 3.812 kB / 0.5152 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.4316, allocations: 16.23 kB / 0.5152 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.4318, allocations: 110.9 kB / 0.5153 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4319, allocations: 0 / 0.5153 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4319, allocations: 5.5 kB / 0.5153 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4319, allocations: 1.438 kB / 0.5153 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.432, allocations: 41.97 kB / 0.5154 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.4325, allocations: 0.515 MB / 0.5159 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.4329, allocations: 85.5 kB / 0.516 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.433, allocations: 41.61 kB / 0.516 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.433, allocations: 5.469 kB / 0.516 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.4332, allocations: 80.75 kB / 0.5161 GB, free: 9.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.4332, allocations: 0 / 0.5161 GB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004237/0.4336, allocations: 143.2 kB / 0.5162 GB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4336, allocations: 56.75 kB / 0.5163 GB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.4338, allocations: 191.8 kB / 0.5165 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4338, allocations: 27.08 kB / 0.5165 GB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.4339, allocations: 113.5 kB / 0.5166 GB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4339, allocations: 35.84 kB / 0.5166 GB, free: 8.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.434, allocations: 27.34 kB / 0.5166 GB, free: 8.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.434, allocations: 334.9 kB / 0.517 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.4341, allocations: 27.11 kB / 0.517 GB, free: 8.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.4342, allocations: 65.41 kB / 0.5171 GB, free: 8.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.4344, allocations: 97.33 kB / 0.5172 GB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4344, allocations: 5.375 kB / 0.5172 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002583/0.4347, allocations: 138.2 kB / 0.5173 GB, free: 8.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4347, allocations: 5.5 kB / 0.5173 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4347, allocations: 1.375 kB / 0.5173 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4347, allocations: 5.312 kB / 0.5173 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4348, allocations: 25.8 kB / 0.5173 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4348, allocations: 2.75 kB / 0.5173 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.4349, allocations: 24.12 kB / 0.5173 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4349, allocations: 9.484 kB / 0.5174 GB, free: 8.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.998e-05/0.435, allocations: 122.1 kB / 0.5175 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.435, allocations: 14.78 kB / 0.5175 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.4351, allocations: 17.52 kB / 0.5175 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4351, allocations: 5.312 kB / 0.5175 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4351, allocations: 3.938 kB / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4351, allocations: 0 / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.4353, allocations: 210.4 kB / 0.5177 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4353, allocations: 4 kB / 0.5177 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.4353, allocations: 13.61 kB / 0.5177 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4353, allocations: 1.375 kB / 0.5177 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4354, allocations: 1.375 kB / 0.5177 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4354, allocations: 3.938 kB / 0.5177 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4354, allocations: 0 / 0.5177 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.4357, allocations: 185.8 kB / 0.5179 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.4358, allocations: 95.69 kB / 0.518 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4358, allocations: 5.359 kB / 0.518 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.4358, allocations: 8.062 kB / 0.518 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4359, allocations: 12.11 kB / 0.518 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4359, allocations: 2.75 kB / 0.518 GB, free: 7.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.436, allocations: 139 kB / 0.5182 GB, free: 7.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.436, allocations: 0 / 0.5182 GB, free: 7.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.4363, allocations: 27.69 kB / 0.5182 GB, free: 7.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001896/0.4382, allocations: 1.041 MB / 0.5192 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.4384, allocations: 80.03 kB / 0.5193 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4384, allocations: 4.062 kB / 0.5193 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.4385, allocations: 35.91 kB / 0.5193 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4388, allocations: 31.92 kB / 0.5194 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4405, allocations: 1.732 MB / 0.521 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.4406, allocations: 0.7162 MB / 0.5217 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.4407, allocations: 13.42 kB / 0.5218 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.4407, allocations: 47.42 kB / 0.5218 GB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4407, allocations: 3.938 kB / 0.5218 GB, free: 3.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4682, allocations: 3.786 MB / 0.5255 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.436, allocations: 6.344 kB / 0.5255 GB, free: 15.65 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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: 11.94095522299176]