Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001353/0.001353, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002432/0.002432, allocations: 214.1 kB / 22.99 MB, free: 4.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.528/1.528, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.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.2355/0.2355, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002611/0.002611, allocations: 72.23 kB / 467.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1425, allocations: 61.05 MB / 0.5162 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00343/0.1459, allocations: 1.742 MB / 0.5179 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1486, allocations: 1.532 MB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.1487, allocations: 7.938 kB / 0.5194 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.1491, allocations: 55.75 kB / 0.5195 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1494, allocations: 91.53 kB / 0.5196 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1498, allocations: 147.6 kB / 0.5197 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.15, allocations: 191.3 kB / 0.5199 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.054e-05/0.1501, allocations: 10.02 kB / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1502, allocations: 71.7 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1504, allocations: 75.55 kB / 0.52 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1505, allocations: 12 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1506, allocations: 59.97 kB / 0.5201 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.1507, allocations: 43.84 kB / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.1508, allocations: 43.72 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1511, allocations: 171.2 kB / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1511, allocations: 0 / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1511, allocations: 0 / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1511, allocations: 0 / 0.5203 GB, free: 2.855 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.0006843/0.1517, allocations: 405.2 kB / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1518, allocations: 8.031 kB / 0.5207 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.1518, allocations: 38.75 kB / 0.5208 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1519, allocations: 16.84 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1522, allocations: 182 kB / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1523, allocations: 384 / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1523, allocations: 11.94 kB / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1525, allocations: 156.4 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1526, allocations: 0 / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1526, allocations: 0 / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1526, allocations: 4 kB / 0.5211 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1527, allocations: 31.97 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.1529, allocations: 185.6 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1532, allocations: 109.1 kB / 0.5214 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.1533, allocations: 37.7 kB / 0.5215 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1533, allocations: 3.984 kB / 0.5215 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.1536, allocations: 120.9 kB / 0.5216 GB, free: 1.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.286e-06/0.1536, allocations: 4 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004707/0.154, allocations: 169.5 kB / 0.5218 GB, free: 1.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.1541, allocations: 136.5 kB / 0.5219 GB, free: 1.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1544, allocations: 219.8 kB / 0.5221 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.1544, allocations: 25.7 kB / 0.5221 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.1545, allocations: 112.1 kB / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1546, allocations: 31.73 kB / 0.5223 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1546, allocations: 29.7 kB / 0.5223 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1548, allocations: 330.8 kB / 0.5226 GB, free: 288 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.1549, allocations: 27.98 kB / 0.5226 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.155, allocations: 128.5 kB / 0.5228 GB, free: 100 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1552, allocations: 95.42 kB / 0.5228 GB, free: 15.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1552, allocations: 3.938 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.1555, allocations: 146 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1555, allocations: 4 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1555, allocations: 0 / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1555, allocations: 8.094 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1557, allocations: 20.05 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1557, allocations: 11.98 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.1557, allocations: 11.95 kB / 0.523 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1558, allocations: 4 kB / 0.523 GB, free: 15.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001297/0.1559, allocations: 141.7 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1559, allocations: 15.91 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.1563, allocations: 158.7 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1563, allocations: 4 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1563, allocations: 4 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1563, allocations: 3.938 kB / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1565, allocations: 188.4 kB / 0.5235 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1565, allocations: 0 / 0.5235 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.1565, allocations: 12 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1565, allocations: 4 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1566, allocations: 3.984 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1566, allocations: 4 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1566, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1569, allocations: 181.7 kB / 0.5237 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.1569, allocations: 23.89 kB / 0.5238 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.157, allocations: 0 / 0.5238 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.157, allocations: 11.94 kB / 0.5238 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1571, allocations: 7.984 kB / 0.5238 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.1571, allocations: 11.98 kB / 0.5238 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1573, allocations: 165.5 kB / 0.5239 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 0.5239 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1576, allocations: 39.88 kB / 0.524 GB, free: 14.74 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002385/0.1599, allocations: 1.099 MB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1602, allocations: 84.02 kB / 0.5251 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1602, allocations: 0 / 0.5251 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1603, allocations: 47.91 kB / 0.5252 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1607, allocations: 52.03 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.1632, allocations: 1.843 MB / 0.527 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.1633, allocations: 102.2 kB / 0.5271 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1634, allocations: 37.45 kB / 0.5272 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1635, allocations: 51.41 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1635, allocations: 0 / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.1998, allocations: 5.605 MB / 0.5327 GB, free: 5.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.6, allocations: 11.73 kB / 0.5327 GB, free: 5.566 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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: 15.128879075869918]