Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001387/0.001387, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.00159/0.00159, allocations: 214 kB / 23 MB, free: 5.008 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.436/1.436, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2114/0.2114, allocations: 44.23 MB / 330.3 MB, free: 9.535 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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.00224/0.00224, allocations: 72.38 kB / 467.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 61.06 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003289/0.1281, allocations: 1.714 MB / 0.5179 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1296, allocations: 0.8235 MB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.1297, allocations: 11.94 kB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.13, allocations: 31.83 kB / 0.5187 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1302, allocations: 55.7 kB / 0.5188 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1304, allocations: 91.75 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1306, allocations: 91.7 kB / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1307, allocations: 8.219 kB / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1309, allocations: 43.78 kB / 0.519 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.1309, allocations: 39.78 kB / 0.519 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.131, allocations: 4 kB / 0.519 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1311, allocations: 39.98 kB / 0.5191 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.1311, allocations: 23.91 kB / 0.5191 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1312, allocations: 27.81 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1314, allocations: 111.5 kB / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1314, allocations: 0 / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1314, allocations: 0 / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1314, allocations: 0 / 0.5192 GB, free: 4.145 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.0006328/0.1321, allocations: 337.6 kB / 0.5196 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1321, allocations: 8.031 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1321, allocations: 38.75 kB / 0.5196 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1322, allocations: 8.891 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1325, allocations: 146.7 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1325, allocations: 4 kB / 0.5198 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1325, allocations: 0 / 0.5198 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1327, allocations: 53.67 kB / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1327, allocations: 0 / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1327, allocations: 4 kB / 0.5198 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1327, allocations: 0 / 0.5198 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.1328, allocations: 23.92 kB / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1333, allocations: 259.9 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1334, allocations: 54.67 kB / 0.5201 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1335, allocations: 16.86 kB / 0.5202 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.1335, allocations: 11.92 kB / 0.5202 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1337, allocations: 63.39 kB / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1337, allocations: 0 / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.1343, allocations: 173.4 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.1344, allocations: 59.34 kB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1346, allocations: 154.4 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1346, allocations: 29.7 kB / 0.5206 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1347, allocations: 100.1 kB / 0.5207 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.1348, allocations: 23.8 kB / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1348, allocations: 29.7 kB / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.135, allocations: 322.8 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.1351, allocations: 16 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1352, allocations: 37.7 kB / 0.5211 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1354, allocations: 65.7 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1354, allocations: 0 / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.1356, allocations: 113.5 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1356, allocations: 4 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1356, allocations: 4.125 kB / 0.5213 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1356, allocations: 0 / 0.5213 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1357, allocations: 23.88 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1357, allocations: 0 / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.1358, allocations: 7.984 kB / 0.5213 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1358, allocations: 4.031 kB / 0.5213 GB, free: 1.781 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.0001225/0.1359, allocations: 125.8 kB / 0.5215 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1359, allocations: 7.953 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1362, allocations: 114.2 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1362, allocations: 0 / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1362, allocations: 4 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1362, allocations: 0 / 0.5216 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1367, allocations: 370.3 kB / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1367, allocations: 384 / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1367, allocations: 8 kB / 0.5219 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1367, allocations: 0 / 0.5219 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1367, allocations: 7.984 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1367, allocations: 4 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1367, allocations: 0 / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.137, allocations: 208.2 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.137, allocations: 7.953 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.137, allocations: 0 / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.1371, allocations: 4 kB / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1371, allocations: 7.984 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1371, allocations: 4 kB / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1372, allocations: 127.9 kB / 0.5223 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1372, allocations: 0 / 0.5223 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1375, allocations: 27.92 kB / 0.5223 GB, free: 0.6836 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.002292/0.1398, allocations: 1.101 MB / 0.5234 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.14, allocations: 59.91 kB / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.14, allocations: 0 / 0.5235 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.1401, allocations: 23.98 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1405, allocations: 23.92 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1424, allocations: 1.577 MB / 0.525 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.1428, allocations: 0.7002 MB / 0.5257 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.986e-05/0.1428, allocations: 13.28 kB / 0.5257 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.1429, allocations: 35.42 kB / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1429, allocations: 0 / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.1718, allocations: 3.429 MB / 0.5291 GB, free: 9.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11, allocations: 12.84 kB / 0.5291 GB, free: 9.523 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.201664703999995]