Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001463/0.001463, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.001699/0.001699, allocations: 211.2 kB / 20.09 MB, free: 2.941 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.726/1.726, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3767/0.3767, allocations: 44.22 MB / 326.6 MB, free: 6.805 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.002196/0.002196, allocations: 79.89 kB / 462.2 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3548, allocations: 61 MB / 0.511 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002616/0.3574, allocations: 1.583 MB / 0.5125 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005466/0.3579, allocations: 330.9 kB / 0.5128 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.358, allocations: 1.156 kB / 0.5128 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3583, allocations: 85 kB / 0.5129 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.3584, allocations: 73.3 kB / 0.513 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.3586, allocations: 77.14 kB / 0.513 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.3588, allocations: 83.19 kB / 0.5131 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3589, allocations: 18.52 kB / 0.5131 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.3589, allocations: 36.05 kB / 0.5132 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.359, allocations: 62.39 kB / 0.5132 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.359, allocations: 3.375 kB / 0.5132 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.3591, allocations: 35.55 kB / 0.5133 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.3591, allocations: 21.08 kB / 0.5133 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3592, allocations: 33.25 kB / 0.5133 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3594, allocations: 106 kB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3594, allocations: 4 kB / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3594, allocations: 0 / 0.5134 GB, free: 11.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3594, allocations: 1.312 kB / 0.5134 GB, free: 11.35 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.0004171/0.3598, allocations: 412.3 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3598, allocations: 12.73 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.3599, allocations: 36.88 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.3599, allocations: 18.33 kB / 0.5139 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.36, allocations: 195.7 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3601, allocations: 5.531 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3601, allocations: 11.59 kB / 0.5141 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3602, allocations: 60.77 kB / 0.5141 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3602, allocations: 0 / 0.5141 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3603, allocations: 0 / 0.5141 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3603, allocations: 1.344 kB / 0.5142 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3604, allocations: 38.34 kB / 0.5142 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.3607, allocations: 311.1 kB / 0.5145 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3608, allocations: 52.92 kB / 0.5145 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3608, allocations: 21.78 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3608, allocations: 1.156 kB / 0.5146 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.3609, allocations: 34.5 kB / 0.5146 GB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3609, allocations: 1.531 kB / 0.5146 GB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.3614, allocations: 185.8 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3615, allocations: 52.41 kB / 0.5148 GB, free: 9.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3616, allocations: 234.1 kB / 0.515 GB, free: 9.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.3616, allocations: 29.69 kB / 0.5151 GB, free: 9.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.3617, allocations: 106 kB / 0.5152 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.3617, allocations: 26.8 kB / 0.5152 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3617, allocations: 20.41 kB / 0.5152 GB, free: 9.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3618, allocations: 326.6 kB / 0.5155 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.3618, allocations: 29.34 kB / 0.5156 GB, free: 9.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.3619, allocations: 22.27 kB / 0.5156 GB, free: 9.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.362, allocations: 64.52 kB / 0.5156 GB, free: 9.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.362, allocations: 0 / 0.5156 GB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001784/0.3622, allocations: 104.4 kB / 0.5157 GB, free: 9.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3622, allocations: 13.44 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3622, allocations: 0 / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3623, allocations: 1.375 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3624, allocations: 17.73 kB / 0.5158 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3624, allocations: 7.875 kB / 0.5158 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.3624, allocations: 12.11 kB / 0.5158 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3624, allocations: 1.375 kB / 0.5158 GB, free: 9.16 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 6.564e-05/0.3625, allocations: 126.2 kB / 0.5159 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3625, allocations: 21.41 kB / 0.5159 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.3628, allocations: 121.7 kB / 0.516 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3628, allocations: 1.375 kB / 0.516 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3628, allocations: 4.312 kB / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3628, allocations: 0 / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3632, allocations: 389.8 kB / 0.5164 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3632, allocations: 4 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.3632, allocations: 21.73 kB / 0.5164 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3632, allocations: 3.938 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3632, allocations: 1.375 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3632, allocations: 0 / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3633, allocations: 1.375 kB / 0.5165 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3634, allocations: 199.4 kB / 0.5166 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3635, allocations: 99.73 kB / 0.5167 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3635, allocations: 1.375 kB / 0.5167 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.3635, allocations: 2.75 kB / 0.5167 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3636, allocations: 6.734 kB / 0.5167 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3636, allocations: 6.688 kB / 0.5168 GB, free: 8.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3637, allocations: 169 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3637, allocations: 1.375 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.3639, allocations: 16.38 kB / 0.5169 GB, free: 8.145 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.001707/0.3656, allocations: 1.038 MB / 0.5179 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3659, allocations: 68.78 kB / 0.518 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3659, allocations: 1.5 kB / 0.518 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.366, allocations: 32.08 kB / 0.518 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3663, allocations: 15.64 kB / 0.5181 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3678, allocations: 1.68 MB / 0.5197 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3679, allocations: 0.7118 MB / 0.5204 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.368, allocations: 16.66 kB / 0.5204 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.368, allocations: 31.42 kB / 0.5204 GB, free: 4.812 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.368, allocations: 0 / 0.5204 GB, free: 4.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3917, allocations: 3.028 MB / 0.5234 GB, free: 1.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.382, allocations: 13.67 kB / 0.5234 GB, free: 1.711 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.756673402996967]