Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001321/0.001321, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001437/0.001437, allocations: 204.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.2112/0.2112, allocations: 44.91 MB / 355.1 MB, free: 12.42 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001889/0.001889, allocations: 69.91 kB / 499.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00303/0.1269, allocations: 1.696 MB / 0.5535 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1285, allocations: 1.011 MB / 0.5545 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.1286, allocations: 3.938 kB / 0.5545 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1289, allocations: 67.72 kB / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1292, allocations: 107.6 kB / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.1294, allocations: 67.69 kB / 0.5547 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1296, allocations: 107.7 kB / 0.5548 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.1296, allocations: 12.22 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.1297, allocations: 47.78 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1298, allocations: 55.7 kB / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1298, allocations: 0 / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.1299, allocations: 35.98 kB / 0.555 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.13, allocations: 19.91 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.13, allocations: 27.81 kB / 0.555 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1302, allocations: 111.8 kB / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1302, allocations: 0 / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1302, allocations: 0 / 0.5551 GB, free: 6.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1302, allocations: 7.938 kB / 0.5551 GB, free: 6.699 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005832/0.1308, allocations: 414.7 kB / 0.5555 GB, free: 6.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1309, allocations: 8.031 kB / 0.5555 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.1309, allocations: 30.75 kB / 0.5555 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1309, allocations: 16.84 kB / 0.5556 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1312, allocations: 211.2 kB / 0.5558 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1312, allocations: 384 / 0.5558 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1313, allocations: 7.938 kB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1314, allocations: 53.67 kB / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.1314, allocations: 0 / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1314, allocations: 0 / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1314, allocations: 3.938 kB / 0.5558 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.1315, allocations: 19.92 kB / 0.5558 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.1317, allocations: 181.6 kB / 0.556 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1319, allocations: 50.56 kB / 0.5561 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1319, allocations: 24.84 kB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1319, allocations: 3.984 kB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1321, allocations: 67.39 kB / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1321, allocations: 0 / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003045/0.1324, allocations: 93.56 kB / 0.5562 GB, free: 5.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1324, allocations: 51.41 kB / 0.5563 GB, free: 5.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1327, allocations: 210.3 kB / 0.5565 GB, free: 5.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1327, allocations: 29.64 kB / 0.5565 GB, free: 5.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1327, allocations: 100.1 kB / 0.5566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1328, allocations: 19.89 kB / 0.5566 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1328, allocations: 17.72 kB / 0.5567 GB, free: 4.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.133, allocations: 322.8 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.133, allocations: 12 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.1331, allocations: 29.7 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1332, allocations: 49.64 kB / 0.557 GB, free: 4.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1332, allocations: 3.938 kB / 0.5571 GB, free: 4.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.1333, allocations: 81.53 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1334, allocations: 8 kB / 0.5571 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1334, allocations: 0 / 0.5571 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1334, allocations: 0 / 0.5571 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.1335, allocations: 20.02 kB / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1335, allocations: 4 kB / 0.5572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1335, allocations: 0 / 0.5572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1335, allocations: 4.312 kB / 0.5572 GB, free: 4.352 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001035/0.1336, allocations: 128 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1336, allocations: 7.953 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1337, allocations: 16.98 kB / 0.5573 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1337, allocations: 4 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1337, allocations: 4 kB / 0.5573 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1337, allocations: 4 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1338, allocations: 193.5 kB / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1338, allocations: 0 / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.1339, allocations: 7.938 kB / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1339, allocations: 0 / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1339, allocations: 0 / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1339, allocations: 0 / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1339, allocations: 0 / 0.5575 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1341, allocations: 113 kB / 0.5576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.1341, allocations: 96.92 kB / 0.5577 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1341, allocations: 0 / 0.5577 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1342, allocations: 4 kB / 0.5577 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1342, allocations: 4 kB / 0.5577 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1342, allocations: 4 kB / 0.5577 GB, free: 3.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1344, allocations: 148.2 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1344, allocations: 0 / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1346, allocations: 19.98 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001835/0.1364, allocations: 0.9545 MB / 0.5588 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1366, allocations: 43.92 kB / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1366, allocations: 0 / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.1366, allocations: 12 kB / 0.5589 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1369, allocations: 42.05 kB / 0.5589 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1387, allocations: 1.509 MB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.139, allocations: 0.7002 MB / 0.5611 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.139, allocations: 16.53 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1391, allocations: 35.42 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1391, allocations: 0 / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1645, allocations: 3.169 MB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.171, allocations: 14.84 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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: 11.140459943097085]