Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001358/0.001358, 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.001539/0.001539, 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.534/1.534, 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.2373/0.2373, allocations: 44.9 MB / 355.1 MB, free: 12.44 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001967/0.001967, allocations: 71.88 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 65.41 MB / 0.5518 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003133/0.1392, allocations: 1.628 MB / 0.5533 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1403, allocations: 0.5706 MB / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1403, allocations: 0 / 0.5539 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.141, allocations: 459.1 kB / 0.5543 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.1415, allocations: 291.3 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.142, allocations: 167.4 kB / 0.5548 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1423, allocations: 183.5 kB / 0.555 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1424, allocations: 11.98 kB / 0.555 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1425, allocations: 107.8 kB / 0.5551 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1428, allocations: 247.5 kB / 0.5553 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1428, allocations: 7.938 kB / 0.5553 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1429, allocations: 31.92 kB / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.143, allocations: 87.67 kB / 0.5554 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.1431, allocations: 99 kB / 0.5555 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1435, allocations: 254.9 kB / 0.5558 GB, free: 6.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1435, allocations: 4 kB / 0.5558 GB, free: 6.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1435, allocations: 4 kB / 0.5558 GB, free: 6.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1435, allocations: 0 / 0.5558 GB, free: 6.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009362/0.1445, allocations: 0.6684 MB / 0.5564 GB, free: 5.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1445, allocations: 8.031 kB / 0.5564 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.1446, allocations: 42.73 kB / 0.5565 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.1446, allocations: 40.66 kB / 0.5565 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.145, allocations: 304.6 kB / 0.5568 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.145, allocations: 4.375 kB / 0.5568 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.145, allocations: 384 / 0.5568 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1452, allocations: 65.61 kB / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1452, allocations: 0 / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1452, allocations: 0 / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1452, allocations: 0 / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1454, allocations: 35.95 kB / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.1459, allocations: 412.7 kB / 0.5573 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.146, allocations: 34.56 kB / 0.5573 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.1461, allocations: 28.92 kB / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1461, allocations: 0 / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1462, allocations: 38.56 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1462, allocations: 0 / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003698/0.1465, allocations: 137.5 kB / 0.5575 GB, free: 4.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1466, allocations: 51.41 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.1475, allocations: 0.8699 MB / 0.5584 GB, free: 3.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1475, allocations: 25.7 kB / 0.5585 GB, free: 3.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1477, allocations: 216.1 kB / 0.5587 GB, free: 2.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.1477, allocations: 11.89 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1478, allocations: 17.72 kB / 0.5587 GB, free: 2.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.148, allocations: 362.7 kB / 0.559 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.1481, allocations: 19.98 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1482, allocations: 23.95 kB / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1483, allocations: 48.77 kB / 0.5591 GB, free: 2.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1483, allocations: 0 / 0.5591 GB, free: 2.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002456/0.1485, allocations: 121.2 kB / 0.5592 GB, free: 2.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1486, allocations: 4 kB / 0.5592 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1486, allocations: 0 / 0.5592 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1486, allocations: 4 kB / 0.5592 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1487, allocations: 7.984 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1487, allocations: 4 kB / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.1488, allocations: 7.938 kB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1488, allocations: 4 kB / 0.5593 GB, free: 2.223 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 (3): * Single equations (assignments): 3 * 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.0002326/0.149, allocations: 215.9 kB / 0.5595 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.1491, allocations: 43.72 kB / 0.5595 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1494, allocations: 133 kB / 0.5596 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1494, allocations: 0 / 0.5596 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1494, allocations: 0 / 0.5596 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1494, allocations: 0 / 0.5596 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1497, allocations: 297.5 kB / 0.5599 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1497, allocations: 0 / 0.5599 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.1498, allocations: 8 kB / 0.5599 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1498, allocations: 4 kB / 0.5599 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1498, allocations: 3.984 kB / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1498, allocations: 0 / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1498, allocations: 0 / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1501, allocations: 215.1 kB / 0.5601 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.1502, allocations: 116.8 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1502, allocations: 0 / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.1503, allocations: 11.98 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.1503, allocations: 3.938 kB / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1503, allocations: 0 / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000695/0.151, allocations: 0.6589 MB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.151, allocations: 0 / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1513, allocations: 16 kB / 0.5609 GB, free: 428 kB / 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 (3): * Single equations (assignments): 3 * 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.001845/0.1531, allocations: 1.002 MB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1533, allocations: 47.91 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1533, allocations: 4 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1535, allocations: 23.97 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1539, allocations: 23.5 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.158, allocations: 3.217 MB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.1586, allocations: 0.8299 MB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.905e-05/0.1586, allocations: 19.8 kB / 0.566 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1588, allocations: 107.4 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1588, allocations: 96 / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.1888, allocations: 5.858 MB / 0.5718 GB, free: 5.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.922/9.111, allocations: 6.062 kB / 0.5718 GB, free: 5.332 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.497806957922876]