Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.00131/0.00131, allocations: 124.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.001429/0.001429, allocations: 203.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.62/1.62, 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.2361/0.2361, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.002009/0.002009, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1422, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003115/0.1454, allocations: 1.62 MB / 0.5534 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1477, allocations: 1.179 MB / 0.5545 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1478, allocations: 0 / 0.5545 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1482, allocations: 27.86 kB / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.1487, allocations: 83.61 kB / 0.5546 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1491, allocations: 119.6 kB / 0.5547 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1493, allocations: 83.7 kB / 0.5548 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1495, allocations: 19.92 kB / 0.5548 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1496, allocations: 35.84 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1498, allocations: 35.84 kB / 0.5549 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1498, allocations: 4 kB / 0.5549 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.15, allocations: 107.9 kB / 0.555 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.1501, allocations: 19.92 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1502, allocations: 23.81 kB / 0.555 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.1506, allocations: 163.4 kB / 0.5552 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1506, allocations: 0 / 0.5552 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.1506, allocations: 0 / 0.5552 GB, free: 6.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1506, allocations: 4 kB / 0.5552 GB, free: 6.582 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007267/0.1513, allocations: 410.8 kB / 0.5556 GB, free: 6.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1514, allocations: 8.031 kB / 0.5556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.1514, allocations: 34.75 kB / 0.5556 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1515, allocations: 16.89 kB / 0.5557 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1517, allocations: 198.2 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1517, allocations: 12.31 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1517, allocations: 4.375 kB / 0.5559 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1519, allocations: 79.31 kB / 0.5559 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.152, allocations: 7.953 kB / 0.5559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.152, allocations: 4 kB / 0.5559 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.152, allocations: 0 / 0.5559 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1521, allocations: 39.91 kB / 0.556 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1526, allocations: 308.8 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1527, allocations: 50.66 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.1528, allocations: 24.91 kB / 0.5563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1528, allocations: 0 / 0.5563 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1528, allocations: 42.56 kB / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1528, allocations: 0 / 0.5564 GB, free: 5.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007489/0.1536, allocations: 197.3 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1536, allocations: 77.11 kB / 0.5567 GB, free: 4.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1538, allocations: 157.5 kB / 0.5568 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1538, allocations: 29.7 kB / 0.5568 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.1539, allocations: 104.1 kB / 0.5569 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.154, allocations: 31.73 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.154, allocations: 21.72 kB / 0.557 GB, free: 4.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1542, allocations: 318.8 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.1542, allocations: 23.98 kB / 0.5573 GB, free: 4.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1543, allocations: 45.69 kB / 0.5573 GB, free: 4.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1545, allocations: 81.06 kB / 0.5574 GB, free: 4.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1545, allocations: 0 / 0.5574 GB, free: 4.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002518/0.1548, allocations: 109.5 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1548, allocations: 4 kB / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1548, allocations: 0 / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1548, allocations: 0 / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.155, allocations: 19.98 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.155, allocations: 7.938 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.155, allocations: 7.984 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.155, allocations: 8 kB / 0.5576 GB, free: 3.898 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001069/0.1551, allocations: 116 kB / 0.5577 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.1552, allocations: 11.91 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.1555, allocations: 138.1 kB / 0.5578 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1555, allocations: 4 kB / 0.5578 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1555, allocations: 7.938 kB / 0.5578 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1555, allocations: 0 / 0.5578 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.156, allocations: 402.4 kB / 0.5582 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.156, allocations: 384 / 0.5582 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.1561, allocations: 23.92 kB / 0.5582 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1561, allocations: 0 / 0.5582 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1561, allocations: 4 kB / 0.5583 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1561, allocations: 4 kB / 0.5583 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1561, allocations: 7.984 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1564, allocations: 211.6 kB / 0.5585 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1565, allocations: 85 kB / 0.5585 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1565, allocations: 0 / 0.5585 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1566, allocations: 11.98 kB / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1566, allocations: 4 kB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1566, allocations: 8 kB / 0.5586 GB, free: 2.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1567, allocations: 117.6 kB / 0.5587 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1567, allocations: 0 / 0.5587 GB, free: 2.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.157, allocations: 43.86 kB / 0.5587 GB, free: 2.617 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002244/0.1593, allocations: 1.123 MB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1596, allocations: 71.89 kB / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1596, allocations: 0 / 0.5599 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1597, allocations: 44.06 kB / 0.5599 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1601, allocations: 26.14 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.1621, allocations: 1.55 MB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1625, allocations: 0.704 MB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.254e-05/0.1626, allocations: 16.42 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.1626, allocations: 31.42 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1626, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1907, allocations: 3.481 MB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.233, allocations: 4.875 kB / 0.5656 GB, free: 11.63 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.56646111374721]