Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001419/0.001419, 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.00156/0.00156, 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.524/1.524, 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.2288/0.2288, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.00198/0.00198, allocations: 67.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1406, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.0036/0.1442, allocations: 1.611 MB / 0.5533 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1452, allocations: 0.5261 MB / 0.5539 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.1453, allocations: 0 / 0.5539 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1456, allocations: 35.77 kB / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1459, allocations: 79.69 kB / 0.554 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1461, allocations: 91.58 kB / 0.5541 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1463, allocations: 71.77 kB / 0.5541 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1464, allocations: 7.938 kB / 0.5541 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.1465, allocations: 27.92 kB / 0.5542 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1465, allocations: 27.84 kB / 0.5542 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1466, allocations: 4 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.1467, allocations: 27.94 kB / 0.5542 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1467, allocations: 15.92 kB / 0.5542 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1467, allocations: 23.8 kB / 0.5543 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1469, allocations: 79.72 kB / 0.5543 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1469, allocations: 0 / 0.5543 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1469, allocations: 0 / 0.5543 GB, free: 7.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1469, allocations: 4 kB / 0.5543 GB, free: 7.496 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.0005406/0.1475, allocations: 394.9 kB / 0.5547 GB, free: 7.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1475, allocations: 8.031 kB / 0.5547 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1475, allocations: 34.75 kB / 0.5547 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1476, allocations: 12.83 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1478, allocations: 196.2 kB / 0.5549 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-06/0.1478, allocations: 384 / 0.5549 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1478, allocations: 4.375 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.148, allocations: 49.62 kB / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.148, allocations: 0 / 0.555 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.148, allocations: 8 kB / 0.555 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.148, allocations: 0 / 0.555 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.1481, allocations: 23.97 kB / 0.555 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1484, allocations: 280.8 kB / 0.5553 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1486, allocations: 38.56 kB / 0.5553 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1487, allocations: 16.95 kB / 0.5554 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1487, allocations: 7.984 kB / 0.5554 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1487, allocations: 30.56 kB / 0.5554 GB, free: 6.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1487, allocations: 0 / 0.5554 GB, free: 6.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005953/0.1493, allocations: 137.4 kB / 0.5555 GB, free: 6.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1494, allocations: 55.41 kB / 0.5556 GB, free: 6.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1496, allocations: 172.9 kB / 0.5557 GB, free: 5.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1496, allocations: 25.7 kB / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1496, allocations: 100.1 kB / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1497, allocations: 15.86 kB / 0.5559 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.1497, allocations: 17.66 kB / 0.5559 GB, free: 5.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1499, allocations: 322.8 kB / 0.5562 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1499, allocations: 15.98 kB / 0.5562 GB, free: 5.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.15, allocations: 27.92 kB / 0.5562 GB, free: 5.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1501, allocations: 53.02 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1501, allocations: 3.938 kB / 0.5563 GB, free: 5.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.1503, allocations: 77.62 kB / 0.5564 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1503, allocations: 4 kB / 0.5564 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1503, allocations: 0 / 0.5564 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1504, allocations: 4 kB / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1504, allocations: 19.92 kB / 0.5564 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1504, allocations: 3.938 kB / 0.5564 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.1505, allocations: 7.984 kB / 0.5564 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1505, allocations: 0 / 0.5564 GB, free: 5.141 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 (5): * Single equations (assignments): 5 * 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 9.984e-05/0.1506, allocations: 120 kB / 0.5565 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1506, allocations: 7.953 kB / 0.5565 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.1509, allocations: 93.97 kB / 0.5566 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1509, allocations: 0 / 0.5566 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1509, allocations: 7.922 kB / 0.5566 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1509, allocations: 288 / 0.5566 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1513, allocations: 342.5 kB / 0.557 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1513, allocations: 0 / 0.557 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.1514, allocations: 15.98 kB / 0.557 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1514, allocations: 3.938 kB / 0.557 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1514, allocations: 7.984 kB / 0.557 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1514, allocations: 192 / 0.557 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1514, allocations: 0 / 0.557 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1516, allocations: 187.4 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1517, allocations: 85.06 kB / 0.5572 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1517, allocations: 3.938 kB / 0.5572 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1518, allocations: 7.984 kB / 0.5572 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1518, allocations: 8 kB / 0.5573 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1518, allocations: 4 kB / 0.5573 GB, free: 4.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1519, allocations: 123.2 kB / 0.5574 GB, free: 4.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1519, allocations: 0 / 0.5574 GB, free: 4.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1522, allocations: 19.89 kB / 0.5574 GB, free: 4.016 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 (5): * Single equations (assignments): 5 * 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.001947/0.1541, allocations: 1.021 MB / 0.5584 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1543, allocations: 43.97 kB / 0.5584 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1543, allocations: 0 / 0.5584 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.1544, allocations: 23.98 kB / 0.5585 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1547, allocations: 18.8 kB / 0.5585 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1565, allocations: 1.46 MB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1568, allocations: 0.6963 MB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.1569, allocations: 15.84 kB / 0.5606 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.1569, allocations: 31.42 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1569, allocations: 0 / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1806, allocations: 2.622 MB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.456, allocations: 7.938 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.889781576115638]