Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.00134/0.00134, allocations: 120.3 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.001489/0.001489, allocations: 211.9 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.64/1.64, allocations: 207.6 MB / 231.2 MB, free: 4.145 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.4261/0.4261, allocations: 44.23 MB / 327.3 MB, free: 6.719 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.002576/0.002576, allocations: 71.89 kB / 462.9 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3655, allocations: 61.01 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002947/0.3685, allocations: 1.56 MB / 0.5132 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3699, allocations: 0.9515 MB / 0.5141 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.3699, allocations: 0 / 0.5141 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3702, allocations: 31.25 kB / 0.5141 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3704, allocations: 40.2 kB / 0.5142 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3706, allocations: 91.7 kB / 0.5143 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3708, allocations: 57.06 kB / 0.5143 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.371, allocations: 17.83 kB / 0.5143 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.371, allocations: 25.06 kB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3712, allocations: 23.08 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3712, allocations: 3.844 kB / 0.5144 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3713, allocations: 60.11 kB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.3714, allocations: 11.28 kB / 0.5145 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3714, allocations: 23.98 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3717, allocations: 93.75 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3717, allocations: 0 / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3717, allocations: 0 / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3717, allocations: 1.344 kB / 0.5146 GB, free: 10.88 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.000528/0.3722, allocations: 371.4 kB / 0.5149 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.3723, allocations: 12.64 kB / 0.5149 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.3723, allocations: 9.25 kB / 0.5149 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.3723, allocations: 39.83 kB / 0.515 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3724, allocations: 8.172 kB / 0.515 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3725, allocations: 184.1 kB / 0.5152 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3726, allocations: 5.438 kB / 0.5152 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3726, allocations: 5.25 kB / 0.5152 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3727, allocations: 61.33 kB / 0.5152 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3728, allocations: 4 kB / 0.5152 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3728, allocations: 4 kB / 0.5152 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3728, allocations: 1.469 kB / 0.5152 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.3729, allocations: 29.81 kB / 0.5153 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3732, allocations: 278.2 kB / 0.5155 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3734, allocations: 39.16 kB / 0.5156 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.3735, allocations: 27.91 kB / 0.5156 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3735, allocations: 1.094 kB / 0.5156 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3735, allocations: 36 kB / 0.5156 GB, free: 9.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.3735, allocations: 0 / 0.5156 GB, free: 9.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005854/0.3741, allocations: 148.3 kB / 0.5158 GB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3741, allocations: 85.05 kB / 0.5159 GB, free: 9.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3743, allocations: 133 kB / 0.516 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.3743, allocations: 25.7 kB / 0.516 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.3743, allocations: 87.45 kB / 0.5161 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3743, allocations: 18.08 kB / 0.5161 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.3744, allocations: 21.86 kB / 0.5161 GB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.3744, allocations: 317.9 kB / 0.5164 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3745, allocations: 18.2 kB / 0.5164 GB, free: 8.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.3746, allocations: 44.72 kB / 0.5165 GB, free: 8.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3747, allocations: 51.02 kB / 0.5165 GB, free: 8.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3747, allocations: 0 / 0.5165 GB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.3749, allocations: 87.48 kB / 0.5166 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3749, allocations: 5.438 kB / 0.5166 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3749, allocations: 8.094 kB / 0.5166 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3749, allocations: 288 / 0.5166 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.375, allocations: 10.34 kB / 0.5166 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.375, allocations: 3.938 kB / 0.5166 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.3751, allocations: 16.36 kB / 0.5167 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3751, allocations: 1.312 kB / 0.5167 GB, free: 8.793 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 6.785e-05/0.3751, allocations: 113.8 kB / 0.5168 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3752, allocations: 10.53 kB / 0.5168 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.3754, allocations: 108 kB / 0.5169 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3754, allocations: 0 / 0.5169 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3754, allocations: 1.656 kB / 0.5169 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3754, allocations: 3.938 kB / 0.5169 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.3758, allocations: 348.7 kB / 0.5172 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3758, allocations: 1.375 kB / 0.5172 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.3759, allocations: 12.23 kB / 0.5172 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3759, allocations: 5.375 kB / 0.5172 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3759, allocations: 5.312 kB / 0.5172 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3759, allocations: 3.938 kB / 0.5173 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3759, allocations: 0 / 0.5173 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3761, allocations: 181.8 kB / 0.5174 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.3761, allocations: 78.48 kB / 0.5175 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3761, allocations: 9.5 kB / 0.5175 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.3762, allocations: 16.11 kB / 0.5175 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.3762, allocations: 1.375 kB / 0.5175 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.3763, allocations: 1.375 kB / 0.5175 GB, free: 7.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.3763, allocations: 102.4 kB / 0.5176 GB, free: 7.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3763, allocations: 0 / 0.5176 GB, free: 7.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3766, allocations: 27.05 kB / 0.5177 GB, free: 7.844 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.001914/0.3785, allocations: 1.059 MB / 0.5187 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3787, allocations: 50.16 kB / 0.5187 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3787, allocations: 7.938 kB / 0.5187 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.3788, allocations: 28.42 kB / 0.5188 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3792, allocations: 22.77 kB / 0.5188 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3807, allocations: 1.398 MB / 0.5202 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3808, allocations: 0.6972 MB / 0.5208 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.3809, allocations: 16.25 kB / 0.5209 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.3809, allocations: 22.36 kB / 0.5209 GB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3809, allocations: 0 / 0.5209 GB, free: 4.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.4035, allocations: 2.823 MB / 0.5236 GB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.891, allocations: 17.64 kB / 0.5236 GB, free: 2.117 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.188043817994185]