Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001357/0.001357, 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.001419/0.001419, 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.738/1.738, allocations: 207.6 MB / 230.5 MB, free: 4.012 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.3911/0.3911, allocations: 44.23 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002379/0.002379, allocations: 71.91 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3536, allocations: 61 MB / 0.511 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003062/0.3567, allocations: 1.626 MB / 0.5125 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.3574, allocations: 352.1 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.3574, allocations: 1.156 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.3577, allocations: 52.73 kB / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3579, allocations: 52.06 kB / 0.513 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.3583, allocations: 147.9 kB / 0.5131 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3584, allocations: 78.28 kB / 0.5132 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3585, allocations: 14.61 kB / 0.5132 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.3586, allocations: 38.19 kB / 0.5132 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.3587, allocations: 40.67 kB / 0.5133 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3587, allocations: 6.719 kB / 0.5133 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.3588, allocations: 32.14 kB / 0.5133 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.3588, allocations: 26.42 kB / 0.5133 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3589, allocations: 27.42 kB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.359, allocations: 93.25 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3591, allocations: 3.438 kB / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3591, allocations: 0 / 0.5135 GB, free: 11.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3591, allocations: 0 / 0.5135 GB, free: 11.22 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.0004554/0.3595, allocations: 405.6 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3596, allocations: 14.11 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.3596, allocations: 35.98 kB / 0.5139 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3596, allocations: 13.3 kB / 0.5139 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3598, allocations: 202.7 kB / 0.5141 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3598, allocations: 6.375 kB / 0.5141 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3598, allocations: 2.219 kB / 0.5141 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.36, allocations: 58.58 kB / 0.5142 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.36, allocations: 0 / 0.5142 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.36, allocations: 0 / 0.5142 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.36, allocations: 5.125 kB / 0.5142 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3602, allocations: 46.31 kB / 0.5142 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3605, allocations: 307.1 kB / 0.5145 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3607, allocations: 44.94 kB / 0.5146 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.3607, allocations: 24.75 kB / 0.5146 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.3608, allocations: 7.938 kB / 0.5146 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.3608, allocations: 35.83 kB / 0.5146 GB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3608, allocations: 0 / 0.5146 GB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007589/0.3615, allocations: 227.2 kB / 0.5148 GB, free: 9.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3616, allocations: 64.86 kB / 0.5149 GB, free: 9.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3617, allocations: 174.2 kB / 0.5151 GB, free: 9.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3617, allocations: 26.95 kB / 0.5151 GB, free: 9.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.3618, allocations: 100.3 kB / 0.5152 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3618, allocations: 22.59 kB / 0.5152 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3618, allocations: 20.03 kB / 0.5152 GB, free: 9.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.3619, allocations: 321.8 kB / 0.5155 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.362, allocations: 41.06 kB / 0.5156 GB, free: 9.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3621, allocations: 37.98 kB / 0.5156 GB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3623, allocations: 90.92 kB / 0.5157 GB, free: 9.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3623, allocations: 0 / 0.5157 GB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.3626, allocations: 128.4 kB / 0.5158 GB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3626, allocations: 9.484 kB / 0.5158 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3626, allocations: 0 / 0.5158 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3626, allocations: 0 / 0.5158 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3627, allocations: 27.05 kB / 0.5159 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3628, allocations: 1.375 kB / 0.5159 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.3628, allocations: 17.41 kB / 0.5159 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3628, allocations: 1.375 kB / 0.5159 GB, free: 9.016 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 6.636e-05/0.3629, allocations: 123.5 kB / 0.516 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3629, allocations: 8.078 kB / 0.516 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.3633, allocations: 138.6 kB / 0.5161 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3633, allocations: 5.312 kB / 0.5161 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3633, allocations: 0 / 0.5161 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3633, allocations: 5.359 kB / 0.5161 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3639, allocations: 415.4 kB / 0.5165 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3639, allocations: 4 kB / 0.5165 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.3639, allocations: 25.61 kB / 0.5166 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3639, allocations: 1.375 kB / 0.5166 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.364, allocations: 1.375 kB / 0.5166 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.364, allocations: 0 / 0.5166 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.364, allocations: 4 kB / 0.5166 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3643, allocations: 219.8 kB / 0.5168 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3643, allocations: 91.73 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3644, allocations: 5.375 kB / 0.5169 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.3644, allocations: 9.484 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.3645, allocations: 8.125 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3645, allocations: 1.375 kB / 0.5169 GB, free: 8.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3646, allocations: 138.4 kB / 0.517 GB, free: 7.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 0.517 GB, free: 7.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3649, allocations: 21.38 kB / 0.517 GB, free: 7.984 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.002031/0.3669, allocations: 1.062 MB / 0.5181 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.3673, allocations: 87.06 kB / 0.5182 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3673, allocations: 0 / 0.5182 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3674, allocations: 54.75 kB / 0.5182 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3678, allocations: 16.34 kB / 0.5182 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3697, allocations: 1.681 MB / 0.5199 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3698, allocations: 0.7157 MB / 0.5206 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.3699, allocations: 16.66 kB / 0.5206 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.37, allocations: 27.42 kB / 0.5206 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.37, allocations: 0 / 0.5206 GB, free: 4.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3953, allocations: 2.972 MB / 0.5235 GB, free: 1.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.376, allocations: 13.66 kB / 0.5235 GB, free: 1.598 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_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_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.921937222010456]