Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001488/0.001488, allocations: 122 kB / 17.83 MB, free: 5.242 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.001513/0.001513, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.644/1.644, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.3501/0.3501, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",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.002274/0.002274, allocations: 75.91 kB / 462.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3008, allocations: 60.99 MB / 0.5116 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002627/0.3035, allocations: 1.631 MB / 0.5132 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3046, allocations: 0.9634 MB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.3047, allocations: 3.938 kB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3049, allocations: 26.5 kB / 0.5142 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3051, allocations: 49.62 kB / 0.5143 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.3054, allocations: 149.1 kB / 0.5144 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3055, allocations: 76.66 kB / 0.5145 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3056, allocations: 17.61 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.3057, allocations: 27.52 kB / 0.5145 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3058, allocations: 38.98 kB / 0.5145 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3058, allocations: 3.344 kB / 0.5146 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.3059, allocations: 46.23 kB / 0.5146 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.306, allocations: 21.25 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.306, allocations: 29.52 kB / 0.5146 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3062, allocations: 109.6 kB / 0.5147 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3062, allocations: 0 / 0.5147 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3062, allocations: 1.406 kB / 0.5147 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3062, allocations: 0 / 0.5147 GB, free: 10.75 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.0004418/0.3067, allocations: 398.7 kB / 0.5151 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3067, allocations: 13.52 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.3067, allocations: 9.359 kB / 0.5152 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.051e-05/0.3067, allocations: 31.91 kB / 0.5152 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3068, allocations: 12.45 kB / 0.5152 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3069, allocations: 186.3 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.307, allocations: 1.469 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.307, allocations: 6.375 kB / 0.5154 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3072, allocations: 78.42 kB / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3072, allocations: 0 / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3072, allocations: 1.188 kB / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3072, allocations: 5.094 kB / 0.5155 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3074, allocations: 46.19 kB / 0.5155 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3077, allocations: 316.8 kB / 0.5158 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3079, allocations: 44.36 kB / 0.5158 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.3079, allocations: 24.44 kB / 0.5159 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.308, allocations: 5.25 kB / 0.5159 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.308, allocations: 36.19 kB / 0.5159 GB, free: 9.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.308, allocations: 4 kB / 0.5159 GB, free: 9.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007821/0.3088, allocations: 214 kB / 0.5161 GB, free: 9.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3088, allocations: 82.55 kB / 0.5162 GB, free: 9.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3089, allocations: 150.3 kB / 0.5163 GB, free: 9.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3089, allocations: 29.7 kB / 0.5164 GB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.309, allocations: 103.9 kB / 0.5165 GB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.309, allocations: 18.83 kB / 0.5165 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.309, allocations: 23.77 kB / 0.5165 GB, free: 9.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.3091, allocations: 317.6 kB / 0.5168 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3092, allocations: 44.61 kB / 0.5169 GB, free: 8.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3093, allocations: 53.75 kB / 0.5169 GB, free: 8.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3096, allocations: 87.48 kB / 0.517 GB, free: 8.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3096, allocations: 0 / 0.517 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002988/0.3099, allocations: 127.4 kB / 0.5171 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3099, allocations: 9.531 kB / 0.5171 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3099, allocations: 0 / 0.5171 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3099, allocations: 1.375 kB / 0.5171 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.31, allocations: 17.73 kB / 0.5171 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.31, allocations: 9.375 kB / 0.5171 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.3101, allocations: 9.484 kB / 0.5172 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3101, allocations: 2.75 kB / 0.5172 GB, free: 8.504 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.176e-05/0.3101, allocations: 115.3 kB / 0.5173 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3102, allocations: 12.08 kB / 0.5173 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.3105, allocations: 141.2 kB / 0.5174 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3105, allocations: 1.375 kB / 0.5174 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3105, allocations: 3.938 kB / 0.5174 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3105, allocations: 5.359 kB / 0.5174 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.311, allocations: 412.7 kB / 0.5178 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.311, allocations: 3.938 kB / 0.5178 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.3111, allocations: 19.11 kB / 0.5178 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3111, allocations: 3.938 kB / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3111, allocations: 1.375 kB / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3111, allocations: 0 / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3111, allocations: 1.375 kB / 0.5178 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3114, allocations: 222.4 kB / 0.5181 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.3114, allocations: 91.73 kB / 0.5181 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3114, allocations: 5.375 kB / 0.5182 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.3115, allocations: 9.484 kB / 0.5182 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.3116, allocations: 4.125 kB / 0.5182 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3116, allocations: 1.375 kB / 0.5182 GB, free: 7.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.512e-05/0.3116, allocations: 121.1 kB / 0.5183 GB, free: 7.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3116, allocations: 0 / 0.5183 GB, free: 7.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3119, allocations: 21.88 kB / 0.5183 GB, free: 7.48 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.001881/0.3138, allocations: 1.109 MB / 0.5194 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3141, allocations: 90.73 kB / 0.5195 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3141, allocations: 5.719 kB / 0.5195 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3142, allocations: 41.94 kB / 0.5195 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3146, allocations: 16.64 kB / 0.5195 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3162, allocations: 1.596 MB / 0.5211 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3164, allocations: 0.6963 MB / 0.5218 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.143e-05/0.3164, allocations: 24.66 kB / 0.5218 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.3165, allocations: 27.42 kB / 0.5218 GB, free: 4.094 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3165, allocations: 8 kB / 0.5218 GB, free: 4.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.3362, allocations: 3.19 MB / 0.5249 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/8.911, allocations: 14.73 kB / 0.525 GB, free: 0.7695 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.142675603972748]