Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.002057/0.002057, allocations: 115.5 kB / 17.13 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.002709/0.002709, allocations: 212.3 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.873/1.873, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.3871/0.3871, allocations: 44.23 MB / 326.6 MB, free: 6.816 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002471/0.002471, allocations: 67.91 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3473, allocations: 61 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.005516/0.3528, allocations: 1.627 MB / 0.5125 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.3538, allocations: 344.2 kB / 0.5129 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.3539, allocations: 5.125 kB / 0.5129 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.3543, allocations: 77.55 kB / 0.513 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3547, allocations: 59.55 kB / 0.513 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.3553, allocations: 153.8 kB / 0.5132 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.3556, allocations: 80.81 kB / 0.5132 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3558, allocations: 20 kB / 0.5133 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.3559, allocations: 40.14 kB / 0.5133 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.356, allocations: 53.94 kB / 0.5133 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.3561, allocations: 7.062 kB / 0.5133 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3562, allocations: 36.55 kB / 0.5134 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3563, allocations: 22.05 kB / 0.5134 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.3564, allocations: 33.33 kB / 0.5134 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.3568, allocations: 110.5 kB / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.3568, allocations: 0 / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.53e-06/0.3568, allocations: 0 / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3568, allocations: 0 / 0.5135 GB, free: 11.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007769/0.3576, allocations: 424.5 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.3577, allocations: 13.05 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.3577, allocations: 36.5 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.3578, allocations: 10.36 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.358, allocations: 201.2 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.358, allocations: 4.375 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3581, allocations: 4 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3583, allocations: 65.72 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3583, allocations: 0 / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3583, allocations: 1.938 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3583, allocations: 0 / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.3585, allocations: 50.44 kB / 0.5143 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.359, allocations: 309.2 kB / 0.5146 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3592, allocations: 48.17 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.3593, allocations: 23.94 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.3594, allocations: 5.312 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3594, allocations: 35.94 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.3594, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001159/0.3605, allocations: 240.5 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3606, allocations: 52.86 kB / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3608, allocations: 223.8 kB / 0.5152 GB, free: 9.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.3609, allocations: 25.7 kB / 0.5152 GB, free: 9.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.3609, allocations: 113.5 kB / 0.5153 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.361, allocations: 23.83 kB / 0.5154 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.361, allocations: 15.06 kB / 0.5154 GB, free: 9.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.3611, allocations: 325.9 kB / 0.5157 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.3613, allocations: 41.05 kB / 0.5157 GB, free: 9.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3614, allocations: 38.62 kB / 0.5158 GB, free: 9.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.3617, allocations: 85.61 kB / 0.5158 GB, free: 9.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3618, allocations: 1.719 kB / 0.5159 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004005/0.3622, allocations: 131.4 kB / 0.516 GB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3622, allocations: 6.406 kB / 0.516 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3622, allocations: 0 / 0.516 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3622, allocations: 0 / 0.516 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3624, allocations: 22.67 kB / 0.516 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3624, allocations: 1.062 kB / 0.516 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.3625, allocations: 18.58 kB / 0.516 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3625, allocations: 1.125 kB / 0.516 GB, free: 9.086 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 (7): * Single equations (assignments): 7 * 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.0001009/0.3626, allocations: 130.2 kB / 0.5161 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3626, allocations: 8.609 kB / 0.5162 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.363, allocations: 152.9 kB / 0.5163 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.363, allocations: 1.375 kB / 0.5163 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.363, allocations: 0 / 0.5163 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.363, allocations: 5.125 kB / 0.5163 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.3636, allocations: 417.6 kB / 0.5167 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3636, allocations: 1.469 kB / 0.5167 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.3637, allocations: 22.52 kB / 0.5167 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3637, allocations: 0 / 0.5167 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3637, allocations: 9.031 kB / 0.5167 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3637, allocations: 0 / 0.5167 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3637, allocations: 1.25 kB / 0.5167 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.364, allocations: 224.2 kB / 0.517 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.364, allocations: 88.61 kB / 0.517 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.364, allocations: 5.281 kB / 0.517 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.3641, allocations: 9.609 kB / 0.5171 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3642, allocations: 10.92 kB / 0.5171 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3642, allocations: 1.438 kB / 0.5171 GB, free: 8.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3643, allocations: 170.1 kB / 0.5172 GB, free: 8.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3643, allocations: 3.938 kB / 0.5172 GB, free: 8.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3646, allocations: 23.06 kB / 0.5173 GB, free: 8.02 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 (7): * Single equations (assignments): 7 * 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.001908/0.3665, allocations: 1.059 MB / 0.5183 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3668, allocations: 90.73 kB / 0.5184 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3668, allocations: 0 / 0.5184 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3669, allocations: 43.16 kB / 0.5184 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3673, allocations: 23.89 kB / 0.5184 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.369, allocations: 1.761 MB / 0.5202 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3692, allocations: 0.7196 MB / 0.5209 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.3692, allocations: 20.95 kB / 0.5209 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.3693, allocations: 35.42 kB / 0.5209 GB, free: 4.348 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3693, allocations: 0 / 0.5209 GB, free: 4.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3961, allocations: 3.148 MB / 0.524 GB, free: 1.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.226, allocations: 13.72 kB / 0.524 GB, free: 1.121 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_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_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.785912235995056]