Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 118.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 191.7 kB / 21.39 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 247.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3226/0.3226, allocations: 44.24 MB / 343.5 MB, free: 7.609 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 69.75 kB / 478.9 MB, free: 24.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1186, allocations: 60.83 MB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002951/0.1216, allocations: 1.711 MB / 0.5288 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1231, allocations: 0.8808 MB / 0.5296 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.1232, allocations: 0 / 0.5296 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1234, allocations: 39.81 kB / 0.5297 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1236, allocations: 55.7 kB / 0.5297 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1239, allocations: 107.6 kB / 0.5298 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1241, allocations: 99.69 kB / 0.5299 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.1242, allocations: 8.5 kB / 0.5299 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.1243, allocations: 43.8 kB / 0.53 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.1244, allocations: 31.84 kB / 0.53 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1244, allocations: 4 kB / 0.53 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.1245, allocations: 39.98 kB / 0.53 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1246, allocations: 19.92 kB / 0.5301 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1246, allocations: 35.73 kB / 0.5301 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1248, allocations: 119.4 kB / 0.5302 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1248, allocations: 0 / 0.5302 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1249, allocations: 0 / 0.5302 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1249, allocations: 0 / 0.5302 GB, free: 10.39 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.0005434/0.1254, allocations: 414.7 kB / 0.5306 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1255, allocations: 12.03 kB / 0.5306 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1255, allocations: 34.75 kB / 0.5306 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1255, allocations: 8.891 kB / 0.5306 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1258, allocations: 209 kB / 0.5308 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1258, allocations: 4.375 kB / 0.5309 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1259, allocations: 7.938 kB / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.126, allocations: 57.61 kB / 0.5309 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.126, allocations: 4 kB / 0.5309 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1261, allocations: 3.984 kB / 0.5309 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1261, allocations: 4 kB / 0.5309 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.1261, allocations: 15.98 kB / 0.5309 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1265, allocations: 288.8 kB / 0.5312 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1267, allocations: 58.62 kB / 0.5313 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1268, allocations: 28.84 kB / 0.5313 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1268, allocations: 3.984 kB / 0.5313 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.1269, allocations: 63.39 kB / 0.5314 GB, free: 9.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1269, allocations: 0 / 0.5314 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005168/0.1275, allocations: 173.3 kB / 0.5315 GB, free: 8.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1275, allocations: 55.41 kB / 0.5316 GB, free: 8.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1277, allocations: 194.1 kB / 0.5318 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1277, allocations: 25.7 kB / 0.5318 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.1278, allocations: 100.1 kB / 0.5319 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1278, allocations: 27.78 kB / 0.5319 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1279, allocations: 21.72 kB / 0.5319 GB, free: 8.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.128, allocations: 326.8 kB / 0.5322 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.1281, allocations: 23.98 kB / 0.5323 GB, free: 8.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1282, allocations: 41.64 kB / 0.5323 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1283, allocations: 57.7 kB / 0.5324 GB, free: 7.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1283, allocations: 0 / 0.5324 GB, free: 7.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1285, allocations: 105.5 kB / 0.5325 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1285, allocations: 4 kB / 0.5325 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1285, allocations: 4 kB / 0.5325 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1285, allocations: 0 / 0.5325 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.1286, allocations: 20.02 kB / 0.5325 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1286, allocations: 0 / 0.5325 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1287, allocations: 7.938 kB / 0.5325 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1287, allocations: 4 kB / 0.5325 GB, free: 7.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.0001002/0.1288, allocations: 129.8 kB / 0.5326 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1288, allocations: 15.89 kB / 0.5326 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.1289, allocations: 16.66 kB / 0.5327 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1289, allocations: 4 kB / 0.5327 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1289, allocations: 0 / 0.5327 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1289, allocations: 11.92 kB / 0.5327 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1294, allocations: 387.3 kB / 0.533 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1294, allocations: 4 kB / 0.533 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.1294, allocations: 4 kB / 0.533 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1294, allocations: 7.938 kB / 0.5331 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1294, allocations: 384 / 0.5331 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1294, allocations: 0 / 0.5331 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.1295, allocations: 8 kB / 0.5331 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1297, allocations: 208.3 kB / 0.5333 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1298, allocations: 85.02 kB / 0.5333 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1299, allocations: 7.938 kB / 0.5334 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.1299, allocations: 4 kB / 0.5334 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.13, allocations: 7.984 kB / 0.5334 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.13, allocations: 4 kB / 0.5334 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1301, allocations: 143.2 kB / 0.5335 GB, free: 6.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1301, allocations: 0 / 0.5335 GB, free: 6.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1304, allocations: 23.98 kB / 0.5335 GB, free: 6.625 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.002025/0.1324, allocations: 1.103 MB / 0.5346 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1326, allocations: 59.95 kB / 0.5347 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1326, allocations: 0 / 0.5347 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.1327, allocations: 35.92 kB / 0.5347 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.133, allocations: 26.45 kB / 0.5347 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1348, allocations: 1.623 MB / 0.5363 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1351, allocations: 0.7002 MB / 0.537 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.1352, allocations: 25.17 kB / 0.537 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.1353, allocations: 35.42 kB / 0.537 GB, free: 3.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1353, allocations: 0 / 0.537 GB, free: 3.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1593, allocations: 3.367 MB / 0.5403 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.909, allocations: 20.12 kB / 0.5404 GB, free: 15.77 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.973899578908458]