Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.00162/0.00162, allocations: 122.2 kB / 17.84 MB, free: 5.203 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.001608/0.001608, allocations: 211.8 kB / 20.8 MB, free: 2.258 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.597/1.597, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.4/0.4, allocations: 44.23 MB / 327.3 MB, free: 6.742 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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="cs",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.00221/0.00221, allocations: 68.38 kB / 462.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 61 MB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003056/0.3485, allocations: 1.56 MB / 0.5132 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3497, allocations: 0.9587 MB / 0.5141 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.3498, allocations: 1.156 kB / 0.5141 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3501, allocations: 19.11 kB / 0.5141 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.3503, allocations: 47.06 kB / 0.5142 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.3505, allocations: 91.05 kB / 0.5143 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3507, allocations: 62.44 kB / 0.5143 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3508, allocations: 12.27 kB / 0.5143 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.3508, allocations: 24.75 kB / 0.5144 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.351, allocations: 33.91 kB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.351, allocations: 2.625 kB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3511, allocations: 49.34 kB / 0.5144 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.3512, allocations: 10.69 kB / 0.5144 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3512, allocations: 23.77 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3514, allocations: 93.03 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3514, allocations: 1.781 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3514, allocations: 0 / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3514, allocations: 0 / 0.5146 GB, free: 10.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004566/0.3519, allocations: 370.6 kB / 0.5149 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3519, allocations: 18.78 kB / 0.5149 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.352, allocations: 4.188 kB / 0.5149 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/0.352, allocations: 36.88 kB / 0.515 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.352, allocations: 11.11 kB / 0.515 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3522, allocations: 188.3 kB / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3522, allocations: 1.75 kB / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3522, allocations: 9.734 kB / 0.5152 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3524, allocations: 64.97 kB / 0.5152 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3524, allocations: 0 / 0.5152 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3524, allocations: 3.984 kB / 0.5152 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3524, allocations: 4 kB / 0.5152 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.3525, allocations: 29.59 kB / 0.5153 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.3529, allocations: 278.9 kB / 0.5155 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.3532, allocations: 39.62 kB / 0.5156 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.3532, allocations: 28.22 kB / 0.5156 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3532, allocations: 0 / 0.5156 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3533, allocations: 32.28 kB / 0.5156 GB, free: 9.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3533, allocations: 3.938 kB / 0.5156 GB, free: 9.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007146/0.354, allocations: 144.1 kB / 0.5158 GB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.354, allocations: 78.36 kB / 0.5158 GB, free: 9.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3542, allocations: 140.4 kB / 0.516 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3542, allocations: 25.7 kB / 0.516 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3543, allocations: 90.55 kB / 0.5161 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3543, allocations: 22.52 kB / 0.5161 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3544, allocations: 19.22 kB / 0.5161 GB, free: 9.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.3545, allocations: 319.9 kB / 0.5164 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.3545, allocations: 24.06 kB / 0.5165 GB, free: 8.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.3546, allocations: 35.7 kB / 0.5165 GB, free: 8.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3548, allocations: 51.33 kB / 0.5165 GB, free: 8.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3548, allocations: 0 / 0.5165 GB, free: 8.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002259/0.355, allocations: 87.08 kB / 0.5166 GB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.355, allocations: 9.531 kB / 0.5166 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.355, allocations: 0 / 0.5166 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3551, allocations: 4.031 kB / 0.5166 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.3551, allocations: 10.41 kB / 0.5166 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3552, allocations: 3.984 kB / 0.5167 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.3552, allocations: 7.812 kB / 0.5167 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.3552, allocations: 1.031 kB / 0.5167 GB, free: 8.773 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 (5): * Single equations (assignments): 5 * 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 8.279e-05/0.3553, allocations: 114.3 kB / 0.5168 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3553, allocations: 7.203 kB / 0.5168 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3556, allocations: 103.5 kB / 0.5169 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3556, allocations: 5.375 kB / 0.5169 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3556, allocations: 0 / 0.5169 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3556, allocations: 3.938 kB / 0.5169 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.356, allocations: 350.4 kB / 0.5172 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.356, allocations: 0 / 0.5172 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3561, allocations: 17.52 kB / 0.5172 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3561, allocations: 0 / 0.5172 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3561, allocations: 10.09 kB / 0.5172 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3561, allocations: 3.938 kB / 0.5172 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3561, allocations: 0 / 0.5172 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3563, allocations: 185.8 kB / 0.5174 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.3564, allocations: 78.64 kB / 0.5175 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3564, allocations: 5.219 kB / 0.5175 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.3565, allocations: 10.95 kB / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3565, allocations: 2.594 kB / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3565, allocations: 1.094 kB / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.3566, allocations: 103.3 kB / 0.5176 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3566, allocations: 0 / 0.5176 GB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.3569, allocations: 25.61 kB / 0.5176 GB, free: 7.828 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 (5): * Single equations (assignments): 5 * 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.002119/0.359, allocations: 1.062 MB / 0.5187 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3593, allocations: 58.16 kB / 0.5187 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3593, allocations: 7.938 kB / 0.5187 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.3594, allocations: 32.41 kB / 0.5188 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3598, allocations: 18.72 kB / 0.5188 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3613, allocations: 1.395 MB / 0.5202 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.3615, allocations: 0.6888 MB / 0.5208 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.853e-05/0.3616, allocations: 21.67 kB / 0.5208 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.3616, allocations: 24.92 kB / 0.5209 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3616, allocations: 0 / 0.5209 GB, free: 4.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.3815, allocations: 2.819 MB / 0.5236 GB, free: 2.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/8.959, allocations: 21.64 kB / 0.5236 GB, free: 2.121 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.204632202978246]