Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001808/0.001808, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002247/0.002247, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.568/1.568, 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.237/0.237, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001952/0.001952, allocations: 71.88 kB / 499.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1268, allocations: 65.43 MB / 0.5518 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003236/0.1301, allocations: 1.723 MB / 0.5535 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1318, allocations: 1.038 MB / 0.5545 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.1319, allocations: 0 / 0.5545 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1322, allocations: 47.77 kB / 0.5546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.1325, allocations: 99.59 kB / 0.5547 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1327, allocations: 79.66 kB / 0.5548 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1329, allocations: 103.7 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.133, allocations: 12.22 kB / 0.5549 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1331, allocations: 51.77 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.1332, allocations: 27.86 kB / 0.5549 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1332, allocations: 4 kB / 0.5549 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1333, allocations: 43.98 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.1334, allocations: 23.91 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.1335, allocations: 43.61 kB / 0.5551 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1337, allocations: 123.5 kB / 0.5552 GB, free: 6.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1337, allocations: 0 / 0.5552 GB, free: 6.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1337, allocations: 0 / 0.5552 GB, free: 6.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1337, allocations: 0 / 0.5552 GB, free: 6.609 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006168/0.1343, allocations: 426.6 kB / 0.5556 GB, free: 6.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1343, allocations: 12.03 kB / 0.5556 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1344, allocations: 30.75 kB / 0.5556 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1344, allocations: 12.83 kB / 0.5556 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1347, allocations: 224.1 kB / 0.5558 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1347, allocations: 8.375 kB / 0.5559 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1348, allocations: 7.922 kB / 0.5559 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1349, allocations: 53.67 kB / 0.5559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1349, allocations: 0 / 0.5559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1349, allocations: 7.984 kB / 0.5559 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1349, allocations: 0 / 0.5559 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.135, allocations: 15.98 kB / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1354, allocations: 296.8 kB / 0.5562 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1356, allocations: 62.61 kB / 0.5563 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1357, allocations: 12.86 kB / 0.5563 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1357, allocations: 7.938 kB / 0.5563 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1358, allocations: 67.39 kB / 0.5564 GB, free: 5.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1358, allocations: 4 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005701/0.1364, allocations: 177.3 kB / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1364, allocations: 55.41 kB / 0.5566 GB, free: 4.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1367, allocations: 214 kB / 0.5568 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1367, allocations: 29.7 kB / 0.5568 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.1367, allocations: 104.1 kB / 0.5569 GB, free: 4.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1368, allocations: 31.72 kB / 0.5569 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1368, allocations: 21.72 kB / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.137, allocations: 330.8 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.137, allocations: 16 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.1371, allocations: 37.7 kB / 0.5573 GB, free: 4.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1372, allocations: 57.7 kB / 0.5574 GB, free: 4.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1372, allocations: 0 / 0.5574 GB, free: 4.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.1374, allocations: 105.5 kB / 0.5575 GB, free: 3.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1374, allocations: 4 kB / 0.5575 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1374, allocations: 3.984 kB / 0.5575 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1374, allocations: 4 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.1375, allocations: 12 kB / 0.5575 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1375, allocations: 3.938 kB / 0.5575 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.1376, allocations: 11.94 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1376, allocations: 3.938 kB / 0.5575 GB, free: 3.941 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 (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.00013/0.1377, allocations: 130.3 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1377, allocations: 19.94 kB / 0.5577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.1378, allocations: 21.39 kB / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1378, allocations: 0 / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1378, allocations: 0 / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1378, allocations: 3.938 kB / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.1383, allocations: 395.3 kB / 0.5581 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1383, allocations: 4 kB / 0.5581 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1383, allocations: 4 kB / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1383, allocations: 11.97 kB / 0.5581 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1383, allocations: 0 / 0.5581 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1383, allocations: 0 / 0.5581 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1383, allocations: 4 kB / 0.5581 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1386, allocations: 209 kB / 0.5583 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.1387, allocations: 85.05 kB / 0.5584 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1387, allocations: 11.88 kB / 0.5584 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1388, allocations: 12 kB / 0.5584 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1388, allocations: 7.984 kB / 0.5584 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1388, allocations: 4 kB / 0.5584 GB, free: 2.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.139, allocations: 160.3 kB / 0.5586 GB, free: 2.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.139, allocations: 0 / 0.5586 GB, free: 2.773 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1393, allocations: 23.94 kB / 0.5586 GB, free: 2.75 MB / 414.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.002247/0.1415, allocations: 1.1 MB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1417, allocations: 55.92 kB / 0.5597 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1417, allocations: 0 / 0.5597 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.1418, allocations: 23.98 kB / 0.5597 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1421, allocations: 34.78 kB / 0.5598 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1441, allocations: 1.694 MB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1445, allocations: 0.7083 MB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1445, allocations: 24.45 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.1446, allocations: 39.36 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1713, allocations: 3.526 MB / 0.5656 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.098, allocations: 4 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.445326604880393]