Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 207.4 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 83.86 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2801, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002983/0.2831, allocations: 1.655 MB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.2841, allocations: 0.5343 MB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2842, allocations: 4 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.2847, allocations: 459.1 kB / 0.5633 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.2852, allocations: 291.3 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2855, allocations: 131.1 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.2857, allocations: 175.6 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.2858, allocations: 13.81 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.286, allocations: 123.6 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.2862, allocations: 243.5 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2862, allocations: 4 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2864, allocations: 51.98 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2865, allocations: 87.67 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.2865, allocations: 75.12 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.2869, allocations: 278.5 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2869, allocations: 4 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2869, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2869, allocations: 7.938 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007737/0.2877, allocations: 0.5931 MB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2877, allocations: 12.03 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.2878, allocations: 38.73 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.2878, allocations: 40.66 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2881, allocations: 254.7 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2881, allocations: 4.375 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2881, allocations: 4.375 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2883, allocations: 58.23 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2883, allocations: 11.92 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2883, allocations: 0 / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2883, allocations: 4 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.2884, allocations: 31.92 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.2889, allocations: 363.8 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.289, allocations: 50.58 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.2891, allocations: 12.94 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2891, allocations: 4 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2891, allocations: 30.56 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2891, allocations: 0 / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009256/0.29, allocations: 316.5 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2901, allocations: 55.41 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.291, allocations: 0.8698 MB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.291, allocations: 25.7 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2912, allocations: 232.1 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.2912, allocations: 23.75 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2913, allocations: 21.7 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2914, allocations: 366.8 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.2915, allocations: 27.97 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.2916, allocations: 28.05 kB / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.2917, allocations: 64.77 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2917, allocations: 0 / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.292, allocations: 137.4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.292, allocations: 4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.292, allocations: 4 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.292, allocations: 0 / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2921, allocations: 23.92 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2921, allocations: 3.938 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2922, allocations: 11.92 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2922, allocations: 3.938 kB / 0.5683 GB, free: 12.02 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0002104/0.2924, allocations: 209.8 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.2925, allocations: 55.66 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.2928, allocations: 157.6 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2928, allocations: 0 / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2928, allocations: 4 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2928, allocations: 3.938 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.2935, allocations: 470.3 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2935, allocations: 0 / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.2935, allocations: 27.92 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2935, allocations: 7.969 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2935, allocations: 0 / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2935, allocations: 0 / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2935, allocations: 4 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.2938, allocations: 240.9 kB / 0.5694 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.2939, allocations: 35.66 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.2939, allocations: 4 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.294, allocations: 11.98 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.2941, allocations: 11.91 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2941, allocations: 8 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006513/0.2947, allocations: 0.6589 MB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2947, allocations: 0 / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.295, allocations: 31.94 kB / 0.5702 GB, free: 10.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002292/0.2973, allocations: 1.158 MB / 0.5713 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2975, allocations: 67.89 kB / 0.5714 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2975, allocations: 0 / 0.5714 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.2976, allocations: 31.92 kB / 0.5714 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.298, allocations: 33.61 kB / 0.5714 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.3018, allocations: 3.333 MB / 0.5747 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.302, allocations: 220.1 kB / 0.5749 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.3021, allocations: 24.72 kB / 0.5749 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3023, allocations: 107.4 kB / 0.575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3023, allocations: 0 / 0.575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.3361, allocations: 6.896 MB / 0.5818 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 11.12 kB / 0.5818 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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: 13.88483670912683]