Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001822/0.001822, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002215/0.002215, allocations: 203.8 kB / 20.79 MB, free: 2.281 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.513/1.513, allocations: 207.6 MB / 231.2 MB, free: 4.105 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.3887/0.3887, allocations: 44.23 MB / 327.3 MB, free: 7.074 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002313/0.002313, allocations: 67.91 kB / 462.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2807, allocations: 61 MB / 0.5116 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002868/0.2836, allocations: 1.614 MB / 0.5132 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.2843, allocations: 350.9 kB / 0.5136 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.2843, allocations: 1.094 kB / 0.5136 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.285, allocations: 456 kB / 0.514 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.2854, allocations: 253.7 kB / 0.5142 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.2858, allocations: 149 kB / 0.5144 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.2861, allocations: 168.9 kB / 0.5145 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2862, allocations: 22.98 kB / 0.5146 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2863, allocations: 103 kB / 0.5147 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.2866, allocations: 250.5 kB / 0.5149 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2866, allocations: 3.375 kB / 0.5149 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.2867, allocations: 31.48 kB / 0.5149 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2868, allocations: 92.12 kB / 0.515 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.2869, allocations: 102.4 kB / 0.5151 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.2872, allocations: 267.5 kB / 0.5154 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2872, allocations: 1.375 kB / 0.5154 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2872, allocations: 0 / 0.5154 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2872, allocations: 0 / 0.5154 GB, free: 10.9 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.0006897/0.2879, allocations: 0.6505 MB / 0.516 GB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.288, allocations: 13.48 kB / 0.516 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.473e-05/0.288, allocations: 5.562 kB / 0.516 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.288, allocations: 36.12 kB / 0.5161 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.2881, allocations: 50.48 kB / 0.5161 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2884, allocations: 304.5 kB / 0.5164 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2884, allocations: 1.75 kB / 0.5164 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2884, allocations: 5.312 kB / 0.5164 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2886, allocations: 56.59 kB / 0.5165 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2886, allocations: 1.375 kB / 0.5165 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2886, allocations: 0 / 0.5165 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2886, allocations: 5.312 kB / 0.5165 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2887, allocations: 36.47 kB / 0.5165 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.2892, allocations: 392.3 kB / 0.5169 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.2894, allocations: 48.36 kB / 0.5169 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.2895, allocations: 19.81 kB / 0.5169 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2895, allocations: 1.375 kB / 0.5169 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2895, allocations: 35.94 kB / 0.517 GB, free: 9.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2895, allocations: 0 / 0.517 GB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006668/0.2902, allocations: 246.9 kB / 0.5172 GB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2902, allocations: 56.72 kB / 0.5173 GB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.2908, allocations: 0.8661 MB / 0.5181 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2908, allocations: 25.7 kB / 0.5181 GB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.291, allocations: 228.1 kB / 0.5184 GB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.291, allocations: 15.84 kB / 0.5184 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.291, allocations: 21.72 kB / 0.5184 GB, free: 7.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.2911, allocations: 358.8 kB / 0.5187 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.2912, allocations: 27.97 kB / 0.5188 GB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.2912, allocations: 19.98 kB / 0.5188 GB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2914, allocations: 56.77 kB / 0.5188 GB, free: 7.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2914, allocations: 0 / 0.5188 GB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.2916, allocations: 125.4 kB / 0.5189 GB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2916, allocations: 4 kB / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2916, allocations: 0 / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2916, allocations: 0 / 0.519 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.2917, allocations: 12.25 kB / 0.519 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2917, allocations: 11.86 kB / 0.519 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.2917, allocations: 15.98 kB / 0.519 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2918, allocations: 0 / 0.519 GB, free: 7.355 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 0.0001431/0.2919, allocations: 217.7 kB / 0.5192 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.2919, allocations: 43.72 kB / 0.5192 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2922, allocations: 141 kB / 0.5194 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2922, allocations: 0 / 0.5194 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2922, allocations: 7.938 kB / 0.5194 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2922, allocations: 4 kB / 0.5194 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.2927, allocations: 466.4 kB / 0.5198 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2927, allocations: 3.938 kB / 0.5198 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.2927, allocations: 8 kB / 0.5198 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2927, allocations: 7.938 kB / 0.5198 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2927, allocations: 0 / 0.5198 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2927, allocations: 0 / 0.5198 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2927, allocations: 3.984 kB / 0.5199 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2929, allocations: 223.2 kB / 0.5201 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.293, allocations: 116.8 kB / 0.5202 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.293, allocations: 3.938 kB / 0.5202 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2931, allocations: 4 kB / 0.5202 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.2932, allocations: 11.98 kB / 0.5202 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2932, allocations: 192 / 0.5202 GB, free: 6.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004465/0.2936, allocations: 0.6589 MB / 0.5208 GB, free: 5.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 0 / 0.5208 GB, free: 5.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.2938, allocations: 20 kB / 0.5209 GB, free: 5.336 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.001765/0.2956, allocations: 1.058 MB / 0.5219 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2958, allocations: 51.91 kB / 0.5219 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2958, allocations: 0 / 0.5219 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.2959, allocations: 27.92 kB / 0.522 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.2963, allocations: 26.3 kB / 0.522 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.2992, allocations: 3.25 MB / 0.5252 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2995, allocations: 0.826 MB / 0.526 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.2995, allocations: 15.98 kB / 0.526 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.2997, allocations: 111.4 kB / 0.5261 GB, free: 15.86 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2997, allocations: 0 / 0.5261 GB, free: 15.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.325, allocations: 6.101 MB / 0.5321 GB, free: 9.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/9.672, allocations: 17.67 kB / 0.5321 GB, free: 9.672 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.753634591994341]