Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001845/0.001845, allocations: 124.5 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.002335/0.002335, allocations: 211.2 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.453/1.453, 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.2204/0.2204, allocations: 44.91 MB / 355.1 MB, free: 12.3 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001948/0.001948, allocations: 67.89 kB / 499.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 65.43 MB / 0.5518 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003042/0.124, allocations: 1.733 MB / 0.5535 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1264, allocations: 1.637 MB / 0.5551 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1264, allocations: 3.938 kB / 0.5551 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1267, allocations: 39.7 kB / 0.5552 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.127, allocations: 103.5 kB / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1272, allocations: 83.72 kB / 0.5554 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1273, allocations: 107.6 kB / 0.5555 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1274, allocations: 8.281 kB / 0.5555 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.1275, allocations: 51.77 kB / 0.5555 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1277, allocations: 43.84 kB / 0.5556 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1277, allocations: 4 kB / 0.5556 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1279, allocations: 111.9 kB / 0.5557 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1279, allocations: 23.91 kB / 0.5557 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.128, allocations: 31.75 kB / 0.5557 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1282, allocations: 175.3 kB / 0.5559 GB, free: 5.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1282, allocations: 4 kB / 0.5559 GB, free: 5.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1282, allocations: 0 / 0.5559 GB, free: 5.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1282, allocations: 0 / 0.5559 GB, free: 5.855 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.0006005/0.1288, allocations: 430.6 kB / 0.5563 GB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1289, allocations: 8.031 kB / 0.5563 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1289, allocations: 38.75 kB / 0.5563 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.129, allocations: 12.84 kB / 0.5564 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1292, allocations: 224.4 kB / 0.5566 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1293, allocations: 4 kB / 0.5566 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1293, allocations: 4 kB / 0.5566 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1294, allocations: 67.38 kB / 0.5566 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1295, allocations: 0 / 0.5566 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1295, allocations: 8 kB / 0.5567 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1295, allocations: 0 / 0.5567 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.1295, allocations: 15.98 kB / 0.5567 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1299, allocations: 292.8 kB / 0.5569 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1301, allocations: 50.67 kB / 0.557 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1301, allocations: 20.84 kB / 0.557 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1302, allocations: 0 / 0.557 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1303, allocations: 71.39 kB / 0.5571 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1303, allocations: 0 / 0.5571 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005184/0.1308, allocations: 169.4 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.1309, allocations: 85.03 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1311, allocations: 161.5 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1311, allocations: 37.64 kB / 0.5575 GB, free: 3.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.1311, allocations: 92.14 kB / 0.5576 GB, free: 3.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1312, allocations: 35.72 kB / 0.5576 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.1312, allocations: 25.72 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1314, allocations: 322.8 kB / 0.558 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.1314, allocations: 23.98 kB / 0.558 GB, free: 3.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.1315, allocations: 46.5 kB / 0.558 GB, free: 3.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1316, allocations: 57.7 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1316, allocations: 0 / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1318, allocations: 101.6 kB / 0.5582 GB, free: 3.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1318, allocations: 10.19 kB / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1318, allocations: 384 / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1318, allocations: 0 / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.1319, allocations: 23.86 kB / 0.5582 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1319, allocations: 4 kB / 0.5582 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.132, allocations: 4 kB / 0.5582 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.132, allocations: 4 kB / 0.5582 GB, free: 3.195 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.0001106/0.1321, allocations: 132 kB / 0.5584 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1321, allocations: 7.953 kB / 0.5584 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1322, allocations: 16.66 kB / 0.5584 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1322, allocations: 7.922 kB / 0.5584 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1322, allocations: 0 / 0.5584 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1322, allocations: 0 / 0.5584 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.1326, allocations: 399.3 kB / 0.5588 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1326, allocations: 3.938 kB / 0.5588 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1327, allocations: 16.02 kB / 0.5588 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1327, allocations: 0 / 0.5588 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1327, allocations: 0 / 0.5588 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1327, allocations: 4 kB / 0.5588 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1327, allocations: 0 / 0.5588 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1329, allocations: 200.3 kB / 0.559 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.133, allocations: 88.98 kB / 0.5591 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.133, allocations: 12 kB / 0.5591 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.1331, allocations: 0 / 0.5591 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1331, allocations: 7.984 kB / 0.5591 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1331, allocations: 4 kB / 0.5591 GB, free: 2.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1332, allocations: 123.2 kB / 0.5592 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1332, allocations: 4 kB / 0.5592 GB, free: 2.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1335, allocations: 47.86 kB / 0.5593 GB, free: 2.039 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.002332/0.1359, allocations: 1.196 MB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.136, allocations: 59.91 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1361, allocations: 4 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.1361, allocations: 20.16 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1365, allocations: 37.3 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1382, allocations: 1.586 MB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1385, allocations: 0.708 MB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.1385, allocations: 16.88 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.1386, allocations: 35.36 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1386, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.1648, allocations: 4.064 MB / 0.5668 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.4, allocations: 7.984 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.46334063494578]