Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001545/0.001545, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001768/0.001768, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2236/0.2236, allocations: 44.9 MB / 355.1 MB, free: 12.34 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.002152/0.002152, allocations: 75.89 kB / 499.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003251/0.1218, allocations: 1.69 MB / 0.5535 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1236, allocations: 1.015 MB / 0.5545 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.1237, allocations: 0 / 0.5545 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.124, allocations: 71.7 kB / 0.5545 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1244, allocations: 103.5 kB / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1246, allocations: 71.73 kB / 0.5547 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1248, allocations: 115.6 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.1249, allocations: 8.219 kB / 0.5548 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.125, allocations: 47.78 kB / 0.5549 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1251, allocations: 47.77 kB / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1252, allocations: 7.938 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1253, allocations: 31.98 kB / 0.555 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.1253, allocations: 19.92 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.1254, allocations: 35.73 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1256, allocations: 103.8 kB / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1256, allocations: 0 / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1256, allocations: 7.938 kB / 0.5551 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1256, allocations: 0 / 0.5551 GB, free: 6.695 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.0006311/0.1262, allocations: 414.8 kB / 0.5555 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1263, allocations: 8.031 kB / 0.5555 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.1263, allocations: 30.75 kB / 0.5555 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.1264, allocations: 12.84 kB / 0.5556 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1268, allocations: 215.2 kB / 0.5558 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1268, allocations: 8.312 kB / 0.5558 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.1268, allocations: 7.938 kB / 0.5558 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.127, allocations: 45.67 kB / 0.5558 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.127, allocations: 0 / 0.5558 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.127, allocations: 4 kB / 0.5558 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.127, allocations: 3.984 kB / 0.5558 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.1271, allocations: 15.98 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1273, allocations: 181.6 kB / 0.556 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1275, allocations: 58.5 kB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1276, allocations: 20.84 kB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1276, allocations: 0 / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1277, allocations: 67.39 kB / 0.5562 GB, free: 5.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1277, allocations: 0 / 0.5562 GB, free: 5.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002998/0.128, allocations: 97.56 kB / 0.5562 GB, free: 5.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1281, allocations: 55.41 kB / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1283, allocations: 206.2 kB / 0.5565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1283, allocations: 29.7 kB / 0.5565 GB, free: 5.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.1284, allocations: 100.1 kB / 0.5566 GB, free: 4.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1284, allocations: 15.91 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.1285, allocations: 21.7 kB / 0.5567 GB, free: 4.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1286, allocations: 322.8 kB / 0.557 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.1287, allocations: 12 kB / 0.557 GB, free: 4.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.1287, allocations: 33.69 kB / 0.557 GB, free: 4.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1288, allocations: 41.7 kB / 0.557 GB, free: 4.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1289, allocations: 7.938 kB / 0.5571 GB, free: 4.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/0.129, allocations: 81.53 kB / 0.5571 GB, free: 4.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.129, allocations: 4 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.129, allocations: 4 kB / 0.5571 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1291, allocations: 4.031 kB / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.1291, allocations: 15.92 kB / 0.5572 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1291, allocations: 3.938 kB / 0.5572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.1292, allocations: 8 kB / 0.5572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1292, allocations: 0 / 0.5572 GB, free: 4.34 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.0001182/0.1293, allocations: 132 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.1293, allocations: 7.953 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1294, allocations: 13 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1294, allocations: 0 / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1294, allocations: 4 kB / 0.5573 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1294, allocations: 0 / 0.5573 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1296, allocations: 193.8 kB / 0.5575 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1296, allocations: 0 / 0.5575 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.1296, allocations: 8 kB / 0.5575 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1296, allocations: 0 / 0.5575 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1296, allocations: 4 kB / 0.5575 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1296, allocations: 0 / 0.5575 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1296, allocations: 0 / 0.5575 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1298, allocations: 116.9 kB / 0.5576 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1299, allocations: 89 kB / 0.5577 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1299, allocations: 3.984 kB / 0.5577 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.1299, allocations: 0 / 0.5577 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.13, allocations: 8 kB / 0.5577 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.13, allocations: 7.938 kB / 0.5577 GB, free: 3.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1302, allocations: 144.2 kB / 0.5579 GB, free: 3.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1302, allocations: 0 / 0.5579 GB, free: 3.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1304, allocations: 19.98 kB / 0.5579 GB, free: 3.508 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.001946/0.1323, allocations: 0.9603 MB / 0.5588 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1325, allocations: 35.98 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1325, allocations: 0 / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.1326, allocations: 27.98 kB / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1328, allocations: 26.78 kB / 0.5589 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1346, allocations: 1.501 MB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.135, allocations: 0.7002 MB / 0.5611 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.135, allocations: 16.55 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.1351, allocations: 35.42 kB / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1351, allocations: 0 / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.1593, allocations: 3.176 MB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.231, allocations: 7.875 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.376425524242222]