Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.002166/0.002166, allocations: 111 kB / 17.12 MB, free: 6.012 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.002564/0.002564, allocations: 213 kB / 20.09 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4311/0.4311, allocations: 44.24 MB / 326.6 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002156/0.002156, allocations: 76.39 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 60.99 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003365/0.3557, allocations: 1.588 MB / 0.5125 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.3564, allocations: 326.3 kB / 0.5128 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3565, allocations: 1.094 kB / 0.5128 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.3568, allocations: 89.44 kB / 0.5129 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.3571, allocations: 71.75 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3574, allocations: 82.42 kB / 0.513 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3575, allocations: 80.27 kB / 0.5131 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3576, allocations: 20.25 kB / 0.5131 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.3577, allocations: 37.48 kB / 0.5132 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3578, allocations: 61.39 kB / 0.5132 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3578, allocations: 3.875 kB / 0.5132 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.3579, allocations: 24.38 kB / 0.5133 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.358, allocations: 24.77 kB / 0.5133 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.358, allocations: 37.3 kB / 0.5133 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.3582, allocations: 106.3 kB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3582, allocations: 3.938 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3582, allocations: 0 / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3582, allocations: 1.219 kB / 0.5134 GB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000475/0.3587, allocations: 420.6 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3588, allocations: 13.48 kB / 0.5138 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.623e-05/0.3588, allocations: 32.12 kB / 0.5139 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3588, allocations: 14.19 kB / 0.5139 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.359, allocations: 199.9 kB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.359, allocations: 5.844 kB / 0.5141 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.359, allocations: 6.875 kB / 0.5141 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3592, allocations: 64.03 kB / 0.5142 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.3592, allocations: 5.969 kB / 0.5142 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3592, allocations: 0 / 0.5142 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3592, allocations: 0 / 0.5142 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3593, allocations: 31.06 kB / 0.5142 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3597, allocations: 310.8 kB / 0.5145 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3598, allocations: 56.81 kB / 0.5145 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.3598, allocations: 20.73 kB / 0.5146 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3598, allocations: 1.562 kB / 0.5146 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.3599, allocations: 35.98 kB / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3599, allocations: 0 / 0.5146 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006348/0.3605, allocations: 179 kB / 0.5148 GB, free: 10.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.3605, allocations: 52.81 kB / 0.5148 GB, free: 9.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.3607, allocations: 240.9 kB / 0.515 GB, free: 9.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.3607, allocations: 25.7 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.3608, allocations: 110.7 kB / 0.5152 GB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3608, allocations: 28.52 kB / 0.5152 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3608, allocations: 20.03 kB / 0.5152 GB, free: 9.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.3609, allocations: 320.9 kB / 0.5155 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.361, allocations: 24.39 kB / 0.5155 GB, free: 9.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.361, allocations: 32.55 kB / 0.5156 GB, free: 9.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3612, allocations: 67.14 kB / 0.5156 GB, free: 9.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3612, allocations: 0 / 0.5156 GB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000191/0.3614, allocations: 100.2 kB / 0.5157 GB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3614, allocations: 5.5 kB / 0.5157 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3614, allocations: 0 / 0.5157 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3614, allocations: 1.375 kB / 0.5157 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3615, allocations: 21.73 kB / 0.5158 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3615, allocations: 7.875 kB / 0.5158 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.3616, allocations: 8.062 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3616, allocations: 5.375 kB / 0.5158 GB, free: 9.133 MB / 382.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 9.073e-05/0.3617, allocations: 126.2 kB / 0.5159 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3617, allocations: 17.34 kB / 0.5159 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.362, allocations: 126 kB / 0.516 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.362, allocations: 1.375 kB / 0.516 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.362, allocations: 3.938 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.362, allocations: 0 / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.3624, allocations: 397.9 kB / 0.5164 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3624, allocations: 0 / 0.5164 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.3624, allocations: 17.73 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3624, allocations: 3.938 kB / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3625, allocations: 5.375 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3625, allocations: 1.375 kB / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3625, allocations: 0 / 0.5165 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.3627, allocations: 203.3 kB / 0.5167 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.3627, allocations: 87.75 kB / 0.5167 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3627, allocations: 5.375 kB / 0.5167 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.3628, allocations: 6.734 kB / 0.5167 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3628, allocations: 8.125 kB / 0.5168 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3628, allocations: 5.375 kB / 0.5168 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.363, allocations: 173.8 kB / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.363, allocations: 0 / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3632, allocations: 17.38 kB / 0.5169 GB, free: 8.109 MB / 382.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.001745/0.365, allocations: 1.039 MB / 0.518 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3652, allocations: 57.11 kB / 0.518 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3652, allocations: 0 / 0.518 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.3653, allocations: 39.97 kB / 0.518 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3657, allocations: 11.03 kB / 0.5181 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3674, allocations: 1.68 MB / 0.5197 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.3675, allocations: 0.7119 MB / 0.5204 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.3675, allocations: 12.97 kB / 0.5204 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.3676, allocations: 31.42 kB / 0.5204 GB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3676, allocations: 4 kB / 0.5204 GB, free: 4.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3929, allocations: 3.023 MB / 0.5234 GB, free: 1.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.43, allocations: 17.59 kB / 0.5234 GB, free: 1.742 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.948788662994048]