Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001264/0.001264, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.00143/0.00143, allocations: 221.3 kB / 23.01 MB, free: 5.062 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.359/1.359, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.218/0.218, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.002206/0.002206, allocations: 67.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1179, allocations: 61.05 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00338/0.1213, allocations: 1.719 MB / 0.5179 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1227, allocations: 0.8273 MB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.1228, allocations: 0 / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1231, allocations: 43.77 kB / 0.5187 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1233, allocations: 63.75 kB / 0.5188 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1235, allocations: 79.77 kB / 0.5189 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1237, allocations: 103.6 kB / 0.519 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.1238, allocations: 12.22 kB / 0.519 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.1239, allocations: 43.73 kB / 0.519 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.1239, allocations: 31.83 kB / 0.5191 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.124, allocations: 4 kB / 0.5191 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.124, allocations: 39.98 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1241, allocations: 23.91 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.1242, allocations: 35.75 kB / 0.5192 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1244, allocations: 119.5 kB / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1244, allocations: 0 / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1244, allocations: 0 / 0.5193 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1244, allocations: 0 / 0.5193 GB, free: 4.117 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005263/0.1249, allocations: 333.7 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.125, allocations: 12.03 kB / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.125, allocations: 34.75 kB / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.125, allocations: 12.84 kB / 0.5196 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1253, allocations: 154.3 kB / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1253, allocations: 384 / 0.5198 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1253, allocations: 11.88 kB / 0.5198 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1255, allocations: 53.67 kB / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1255, allocations: 0 / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1255, allocations: 0 / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1255, allocations: 0 / 0.5199 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/0.1256, allocations: 19.98 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.1259, allocations: 263.9 kB / 0.5201 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1261, allocations: 62.61 kB / 0.5202 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.1262, allocations: 16.86 kB / 0.5202 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1262, allocations: 3.984 kB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.1263, allocations: 71.34 kB / 0.5203 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1263, allocations: 0 / 0.5203 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.1268, allocations: 165.4 kB / 0.5204 GB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1269, allocations: 59.39 kB / 0.5205 GB, free: 2.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1271, allocations: 190.1 kB / 0.5207 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1271, allocations: 25.7 kB / 0.5207 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1272, allocations: 104.1 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1272, allocations: 27.78 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1273, allocations: 25.72 kB / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1274, allocations: 322.8 kB / 0.5211 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.1275, allocations: 27.92 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.1275, allocations: 37.64 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1277, allocations: 57.7 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1277, allocations: 0 / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1279, allocations: 113.6 kB / 0.5214 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1279, allocations: 8 kB / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1279, allocations: 0 / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1279, allocations: 0 / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.128, allocations: 12.38 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.128, allocations: 3.984 kB / 0.5214 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.128, allocations: 7.938 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.128, allocations: 8 kB / 0.5214 GB, free: 1.711 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 (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 0.0001108/0.1281, allocations: 133.8 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1282, allocations: 11.94 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1284, allocations: 102.4 kB / 0.5216 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1284, allocations: 4 kB / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1284, allocations: 0 / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.1284, allocations: 7.922 kB / 0.5217 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.1289, allocations: 366.4 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1289, allocations: 4.031 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.129, allocations: 11.94 kB / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.129, allocations: 3.938 kB / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.129, allocations: 7.984 kB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.129, allocations: 4 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.129, allocations: 0 / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1293, allocations: 196.3 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.1293, allocations: 19.89 kB / 0.5222 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1293, allocations: 7.938 kB / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1294, allocations: 4 kB / 0.5223 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1294, allocations: 3.984 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1294, allocations: 4 kB / 0.5223 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1296, allocations: 139.2 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 4 kB / 0.5224 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1298, allocations: 27.92 kB / 0.5224 GB, free: 0.5781 MB / 398.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.002212/0.132, allocations: 1.094 MB / 0.5235 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1322, allocations: 55.91 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1322, allocations: 0 / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.1323, allocations: 31.92 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1327, allocations: 23.92 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1346, allocations: 1.638 MB / 0.5252 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1349, allocations: 0.7041 MB / 0.5259 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.135, allocations: 21.27 kB / 0.5259 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.135, allocations: 31.42 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.135, allocations: 4 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.1627, allocations: 3.539 MB / 0.5294 GB, free: 9.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.98, allocations: 12.91 kB / 0.5294 GB, free: 9.242 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.04260555899964]