Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 117.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.515/1.515, allocations: 207.6 MB / 230.5 MB, free: 4.059 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.3355/0.3355, allocations: 44.23 MB / 326.5 MB, free: 6.797 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 72.27 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2574, allocations: 60.99 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002542/0.2599, allocations: 1.584 MB / 0.5125 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.2605, allocations: 334.6 kB / 0.5128 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.2605, allocations: 0 / 0.5128 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.261, allocations: 456.5 kB / 0.5132 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.2613, allocations: 245.3 kB / 0.5134 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.2616, allocations: 158.9 kB / 0.5136 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.2618, allocations: 154.1 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.2619, allocations: 13.66 kB / 0.5138 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.262, allocations: 104.2 kB / 0.5139 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2622, allocations: 250.8 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2622, allocations: 2.75 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.2623, allocations: 25.72 kB / 0.5141 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.2624, allocations: 82.12 kB / 0.5142 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.2624, allocations: 98.5 kB / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.2627, allocations: 255.7 kB / 0.5145 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2627, allocations: 1.344 kB / 0.5145 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2627, allocations: 4 kB / 0.5145 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2627, allocations: 0 / 0.5145 GB, free: 10.8 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.0005524/0.2632, allocations: 0.6456 MB / 0.5152 GB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2633, allocations: 12.73 kB / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.2633, allocations: 32.09 kB / 0.5152 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.2633, allocations: 42.25 kB / 0.5153 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.2635, allocations: 295.3 kB / 0.5155 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2636, allocations: 1.719 kB / 0.5155 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.2636, allocations: 1.812 kB / 0.5155 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.2637, allocations: 60.53 kB / 0.5156 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2637, allocations: 1.219 kB / 0.5156 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2637, allocations: 0 / 0.5156 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2637, allocations: 1.188 kB / 0.5156 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.2638, allocations: 25.22 kB / 0.5156 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.2642, allocations: 390.2 kB / 0.516 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.2642, allocations: 39.66 kB / 0.516 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.2643, allocations: 19.69 kB / 0.5161 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2643, allocations: 3.984 kB / 0.5161 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2643, allocations: 36.03 kB / 0.5161 GB, free: 9.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2643, allocations: 0 / 0.5161 GB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002999/0.2646, allocations: 99.58 kB / 0.5162 GB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.2646, allocations: 60.84 kB / 0.5162 GB, free: 9.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.2652, allocations: 0.8671 MB / 0.5171 GB, free: 8.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.2653, allocations: 25.7 kB / 0.5171 GB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2654, allocations: 220.1 kB / 0.5173 GB, free: 8.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.2654, allocations: 3.953 kB / 0.5173 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.2654, allocations: 17.7 kB / 0.5173 GB, free: 8.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.2655, allocations: 366.7 kB / 0.5177 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.2655, allocations: 15.98 kB / 0.5177 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.2655, allocations: 8 kB / 0.5177 GB, free: 7.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.2656, allocations: 28.84 kB / 0.5177 GB, free: 7.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2656, allocations: 0 / 0.5177 GB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.2657, allocations: 97.38 kB / 0.5178 GB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2657, allocations: 4 kB / 0.5178 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2657, allocations: 4 kB / 0.5178 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2657, allocations: 8.094 kB / 0.5179 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.2658, allocations: 4 kB / 0.5179 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2658, allocations: 3.938 kB / 0.5179 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.2658, allocations: 7.984 kB / 0.5179 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2659, allocations: 0 / 0.5179 GB, free: 7.648 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 (2): * Single equations (assignments): 2 * 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.0001122/0.266, allocations: 213.7 kB / 0.5181 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.266, allocations: 43.67 kB / 0.5181 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.2662, allocations: 108.7 kB / 0.5182 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2662, allocations: 0 / 0.5182 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2662, allocations: 4 kB / 0.5182 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.2662, allocations: 0 / 0.5182 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2664, allocations: 285.5 kB / 0.5185 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2664, allocations: 0 / 0.5185 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.2664, allocations: 4 kB / 0.5185 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2664, allocations: 4 kB / 0.5185 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2664, allocations: 0 / 0.5185 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2664, allocations: 0 / 0.5185 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2664, allocations: 7.875 kB / 0.5185 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2665, allocations: 199.2 kB / 0.5187 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.2666, allocations: 112.8 kB / 0.5188 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2666, allocations: 0 / 0.5188 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.2667, allocations: 4 kB / 0.5188 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.2667, allocations: 0 / 0.5188 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2667, allocations: 0 / 0.5188 GB, free: 6.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003995/0.2671, allocations: 0.6629 MB / 0.5195 GB, free: 5.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2671, allocations: 0 / 0.5195 GB, free: 5.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.2674, allocations: 23.88 kB / 0.5195 GB, free: 5.898 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 (2): * Single equations (assignments): 2 * 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.001344/0.2687, allocations: 0.9826 MB / 0.5204 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2688, allocations: 23.97 kB / 0.5205 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2688, allocations: 0 / 0.5205 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.2689, allocations: 8 kB / 0.5205 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.2693, allocations: 34.42 kB / 0.5205 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2717, allocations: 3.153 MB / 0.5236 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2719, allocations: 0.8182 MB / 0.5244 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.2719, allocations: 15.98 kB / 0.5244 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.272, allocations: 115.4 kB / 0.5245 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.272, allocations: 0 / 0.5245 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.3008, allocations: 5.767 MB / 0.5301 GB, free: 10.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.821/9.122, allocations: 17.44 kB / 0.5302 GB, free: 10.79 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.045102543197572]