Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001735/0.001735, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002382/0.002382, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 8 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.2378/0.2378, allocations: 44.91 MB / 358.8 MB, free: 6.262 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.001975/0.001975, allocations: 64.14 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4125, allocations: 65.48 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003243/0.4158, allocations: 1.63 MB / 0.5586 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.4168, allocations: 0.5698 MB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.4169, allocations: 0 / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.4171, allocations: 19.86 kB / 0.5592 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.4174, allocations: 83.61 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.4177, allocations: 91.72 kB / 0.5594 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.4179, allocations: 83.75 kB / 0.5595 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.418, allocations: 9.812 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.418, allocations: 27.92 kB / 0.5595 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.4181, allocations: 31.84 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.4181, allocations: 4 kB / 0.5595 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.4183, allocations: 107.9 kB / 0.5596 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.4184, allocations: 11.94 kB / 0.5596 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.4184, allocations: 31.78 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4187, allocations: 159.4 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4187, allocations: 0 / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4187, allocations: 0 / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4187, allocations: 0 / 0.5598 GB, free: 4.898 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000564/0.4193, allocations: 337.6 kB / 0.5601 GB, free: 4.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4193, allocations: 12.02 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.4194, allocations: 34.75 kB / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.4194, allocations: 8.891 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.4196, allocations: 138.3 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4196, allocations: 8.375 kB / 0.5603 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4197, allocations: 384 / 0.5603 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4198, allocations: 79.27 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4198, allocations: 0 / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4199, allocations: 0 / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4199, allocations: 0 / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.42, allocations: 23.98 kB / 0.5604 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.4204, allocations: 275.9 kB / 0.5607 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4206, allocations: 62.48 kB / 0.5608 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.4206, allocations: 20.97 kB / 0.5608 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4207, allocations: 4 kB / 0.5608 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4207, allocations: 34.5 kB / 0.5608 GB, free: 3.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4207, allocations: 4 kB / 0.5608 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006894/0.4214, allocations: 189.3 kB / 0.561 GB, free: 3.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.4214, allocations: 81.11 kB / 0.5611 GB, free: 3.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4216, allocations: 156.7 kB / 0.5612 GB, free: 3.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4216, allocations: 25.7 kB / 0.5613 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4217, allocations: 100.1 kB / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.4217, allocations: 27.8 kB / 0.5614 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.4218, allocations: 21.7 kB / 0.5614 GB, free: 3.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4219, allocations: 322.8 kB / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.422, allocations: 31.97 kB / 0.5617 GB, free: 2.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4221, allocations: 53.62 kB / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.4223, allocations: 68.86 kB / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4223, allocations: 0 / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002558/0.4225, allocations: 117.5 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4226, allocations: 4 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4226, allocations: 0 / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4226, allocations: 3.984 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4227, allocations: 16 kB / 0.562 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4227, allocations: 3.984 kB / 0.562 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.4227, allocations: 16.27 kB / 0.562 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4228, allocations: 7.938 kB / 0.562 GB, free: 2.441 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 (9): * Single equations (assignments): 9 * 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.78e-05/0.4229, allocations: 117.8 kB / 0.5621 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.4229, allocations: 19.81 kB / 0.5621 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4232, allocations: 114.3 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4232, allocations: 0 / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4232, allocations: 0 / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4232, allocations: 0 / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.4237, allocations: 373.8 kB / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4237, allocations: 0 / 0.5626 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.4238, allocations: 23.98 kB / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4238, allocations: 0 / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4238, allocations: 7.938 kB / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4238, allocations: 0 / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4238, allocations: 0 / 0.5626 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.4242, allocations: 211.6 kB / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.4242, allocations: 11.95 kB / 0.5629 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.4242, allocations: 7.938 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.4243, allocations: 4 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.4243, allocations: 3.984 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.4243, allocations: 4 kB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4244, allocations: 124.5 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.4247, allocations: 43.86 kB / 0.563 GB, free: 1.309 MB / 398.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.002286/0.427, allocations: 1.131 MB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.4273, allocations: 71.95 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4273, allocations: 0 / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.4274, allocations: 35.91 kB / 0.5642 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.4278, allocations: 19.98 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.4301, allocations: 1.557 MB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.4304, allocations: 0.7005 MB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.4305, allocations: 16.42 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.4306, allocations: 35.41 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4306, allocations: 0 / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.4628, allocations: 3.739 MB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.59, allocations: 6.75 kB / 0.5702 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.849001554997812]