Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001653/0.001653, 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.001405/0.001405, allocations: 217.2 kB / 23 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.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 10 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.2154/0.2154, allocations: 44.25 MB / 330.3 MB, free: 9.52 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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.002199/0.002199, allocations: 75.89 kB / 467.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1173, allocations: 61.04 MB / 0.5162 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003435/0.1207, allocations: 1.73 MB / 0.5179 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1221, allocations: 0.8273 MB / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1222, allocations: 4 kB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1224, allocations: 39.77 kB / 0.5187 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1227, allocations: 51.77 kB / 0.5188 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1229, allocations: 91.7 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1231, allocations: 91.69 kB / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.1232, allocations: 12.22 kB / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1233, allocations: 47.78 kB / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.1234, allocations: 27.84 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1234, allocations: 8 kB / 0.5191 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.1235, allocations: 43.92 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.1235, allocations: 19.92 kB / 0.5191 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1236, allocations: 35.73 kB / 0.5192 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1238, allocations: 107.6 kB / 0.5193 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1238, allocations: 3.938 kB / 0.5193 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1238, allocations: 0 / 0.5193 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1238, allocations: 0 / 0.5193 GB, free: 4.137 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.0004866/0.1243, allocations: 337.7 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1243, allocations: 16.03 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1243, allocations: 34.69 kB / 0.5196 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1244, allocations: 8.891 kB / 0.5196 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1246, allocations: 146.4 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1246, allocations: 384 / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1247, allocations: 7.938 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1248, allocations: 53.67 kB / 0.5198 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1248, allocations: 7.938 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1248, allocations: 0 / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1248, allocations: 4 kB / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.1249, allocations: 23.92 kB / 0.5199 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1253, allocations: 248 kB / 0.5201 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1254, allocations: 50.67 kB / 0.5202 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1255, allocations: 20.84 kB / 0.5202 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1255, allocations: 8 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1257, allocations: 67.33 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1257, allocations: 0 / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00051/0.1262, allocations: 185.2 kB / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1262, allocations: 51.41 kB / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1264, allocations: 174.2 kB / 0.5206 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1264, allocations: 29.7 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1265, allocations: 100.1 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1265, allocations: 19.86 kB / 0.5208 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.1265, allocations: 25.7 kB / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1267, allocations: 326.8 kB / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.1267, allocations: 12 kB / 0.5211 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1268, allocations: 37.7 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1269, allocations: 66.02 kB / 0.5212 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1269, allocations: 0 / 0.5212 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.1271, allocations: 101.6 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1271, allocations: 4 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1271, allocations: 8.172 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1272, allocations: 0 / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.1272, allocations: 23.88 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1272, allocations: 0 / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1273, allocations: 11.97 kB / 0.5214 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1273, allocations: 4 kB / 0.5214 GB, free: 1.762 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 9.636e-05/0.1274, allocations: 121.8 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1274, allocations: 11.94 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1277, allocations: 118.4 kB / 0.5216 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1277, allocations: 4 kB / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1277, allocations: 0 / 0.5216 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1277, allocations: 3.938 kB / 0.5216 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1281, allocations: 370.4 kB / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1281, allocations: 0 / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1281, allocations: 8 kB / 0.522 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1281, allocations: 7.938 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1282, allocations: 3.984 kB / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1282, allocations: 0 / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1282, allocations: 0 / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1284, allocations: 208.2 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.1284, allocations: 7.953 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1284, allocations: 7.938 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1285, allocations: 0 / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1285, allocations: 11.98 kB / 0.5222 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1285, allocations: 4 kB / 0.5222 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1287, allocations: 135.9 kB / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1287, allocations: 0 / 0.5224 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1289, allocations: 24 kB / 0.5224 GB, free: 0.6445 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.002205/0.1311, allocations: 1.101 MB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1313, allocations: 47.98 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1313, allocations: 0 / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.1314, allocations: 27.92 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1317, allocations: 31.98 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1336, allocations: 1.605 MB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1339, allocations: 0.7002 MB / 0.5258 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.134, allocations: 16.97 kB / 0.5258 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1341, allocations: 35.42 kB / 0.5259 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1341, allocations: 0 / 0.5259 GB, free: 12.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.1636, allocations: 3.491 MB / 0.5293 GB, free: 9.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.94, allocations: 4.906 kB / 0.5293 GB, free: 9.398 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_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_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.13946535300056]