Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001821/0.001821, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001396/0.001396, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2159/0.2159, allocations: 44.95 MB / 358.8 MB, free: 6.039 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.002099/0.002099, allocations: 65.78 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 65.48 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003511/0.3392, allocations: 1.668 MB / 0.5586 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3404, allocations: 0.566 MB / 0.5592 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.3405, allocations: 0 / 0.5592 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.3407, allocations: 59.78 kB / 0.5592 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.3411, allocations: 95.59 kB / 0.5593 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3415, allocations: 191.2 kB / 0.5595 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3417, allocations: 91.8 kB / 0.5596 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3418, allocations: 14 kB / 0.5596 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.3419, allocations: 35.84 kB / 0.5596 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.342, allocations: 55.75 kB / 0.5597 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.342, allocations: 4 kB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3421, allocations: 55.98 kB / 0.5597 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3422, allocations: 23.91 kB / 0.5598 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.3422, allocations: 31.8 kB / 0.5598 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3424, allocations: 119.4 kB / 0.5599 GB, free: 4.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3424, allocations: 3.938 kB / 0.5599 GB, free: 4.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3425, allocations: 0 / 0.5599 GB, free: 4.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.3425, allocations: 4 kB / 0.5599 GB, free: 4.473 MB / 398.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.0005731/0.343, allocations: 345.6 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3431, allocations: 12.03 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.3431, allocations: 34.75 kB / 0.5603 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.3432, allocations: 12.84 kB / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3434, allocations: 147 kB / 0.5605 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3434, allocations: 4.375 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3434, allocations: 8.375 kB / 0.5605 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3436, allocations: 73.53 kB / 0.5605 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3436, allocations: 3.953 kB / 0.5605 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3436, allocations: 0 / 0.5605 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3436, allocations: 0 / 0.5605 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3438, allocations: 43.97 kB / 0.5606 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3443, allocations: 291.8 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3445, allocations: 62.55 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.3446, allocations: 28.91 kB / 0.5609 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3446, allocations: 3.984 kB / 0.5609 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3446, allocations: 38.5 kB / 0.561 GB, free: 3.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3446, allocations: 0 / 0.561 GB, free: 3.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.3461, allocations: 428.9 kB / 0.5614 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3462, allocations: 51.41 kB / 0.5614 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3464, allocations: 196.2 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3464, allocations: 33.69 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.3465, allocations: 100.1 kB / 0.5618 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.3465, allocations: 47.64 kB / 0.5618 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3466, allocations: 25.7 kB / 0.5618 GB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3468, allocations: 322.8 kB / 0.5621 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3469, allocations: 59.95 kB / 0.5622 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.347, allocations: 47.97 kB / 0.5622 GB, free: 1.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.3474, allocations: 128.7 kB / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3474, allocations: 0 / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003417/0.3477, allocations: 169.5 kB / 0.5625 GB, free: 1.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3477, allocations: 4 kB / 0.5625 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3477, allocations: 0 / 0.5625 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3477, allocations: 11.92 kB / 0.5625 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3479, allocations: 27.97 kB / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3479, allocations: 0 / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.3479, allocations: 4.562 kB / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3479, allocations: 7.984 kB / 0.5626 GB, free: 1.559 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001133/0.348, allocations: 137.8 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3481, allocations: 15.84 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.3485, allocations: 195 kB / 0.5629 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3485, allocations: 3.938 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3485, allocations: 0 / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3485, allocations: 0 / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.3493, allocations: 471 kB / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3493, allocations: 0 / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3494, allocations: 27.97 kB / 0.5634 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3494, allocations: 0 / 0.5634 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3494, allocations: 8 kB / 0.5634 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3494, allocations: 3.938 kB / 0.5634 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3494, allocations: 0 / 0.5634 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.3498, allocations: 285.6 kB / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3499, allocations: 11.94 kB / 0.5637 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3499, allocations: 4 kB / 0.5637 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.35, allocations: 11.98 kB / 0.5637 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.35, allocations: 7.984 kB / 0.5637 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.35, allocations: 11.94 kB / 0.5637 GB, free: 292 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3502, allocations: 152.9 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3502, allocations: 0 / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3505, allocations: 27.94 kB / 0.5639 GB, free: 112 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002509/0.353, allocations: 1.197 MB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3533, allocations: 123.8 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3533, allocations: 3.938 kB / 0.5652 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3535, allocations: 67.89 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3539, allocations: 26.28 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3565, allocations: 1.917 MB / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3566, allocations: 108.7 kB / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.3567, allocations: 36.31 kB / 0.5673 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.3568, allocations: 39.42 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3568, allocations: 4 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.3908, allocations: 4.087 MB / 0.5713 GB, free: 8.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.53, allocations: 0 / 0.5713 GB, free: 8.633 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_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_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.705824409145862]