Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 109.1 kB / 21.22 MB, free: 0.7344 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.001494/0.001494, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2135/0.2135, allocations: 46.93 MB / 361.6 MB, free: 4.16 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2924, allocations: 66.08 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003558/0.2959, allocations: 2.077 MB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.2981, allocations: 1.134 MB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2982, allocations: 7.938 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.2987, allocations: 271.1 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.2992, allocations: 263 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3007, allocations: 0.661 MB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.3011, allocations: 362.8 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3013, allocations: 56.88 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3015, allocations: 151.4 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.3018, allocations: 235.1 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.3018, allocations: 12 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.302, allocations: 99.97 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3021, allocations: 107.6 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3023, allocations: 134.8 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.3028, allocations: 374.1 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3028, allocations: 0 / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3028, allocations: 0 / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3028, allocations: 4 kB / 0.5673 GB, free: 14.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008893/0.3037, allocations: 0.6398 MB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3037, allocations: 12.03 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.3037, allocations: 4.188 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3038, allocations: 38.75 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.3039, allocations: 44.66 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3043, allocations: 280.6 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3043, allocations: 12.31 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3043, allocations: 12.38 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3046, allocations: 131 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3046, allocations: 3.953 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3046, allocations: 8 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3046, allocations: 0 / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3048, allocations: 91.94 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.3056, allocations: 0.4916 MB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3058, allocations: 110.4 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.3059, allocations: 36.83 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3059, allocations: 8 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3059, allocations: 30.56 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3059, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001078/0.307, allocations: 463.2 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.307, allocations: 55.62 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.3077, allocations: 0.6034 MB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3078, allocations: 37.64 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3079, allocations: 216.3 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.308, allocations: 63.38 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.308, allocations: 45.7 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3082, allocations: 350.8 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3084, allocations: 67.95 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3085, allocations: 67.95 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3088, allocations: 154.8 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3088, allocations: 0 / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004096/0.3092, allocations: 233.2 kB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3092, allocations: 8 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3092, allocations: 3.984 kB / 0.5714 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3092, allocations: 0 / 0.5714 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3094, allocations: 35.92 kB / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3094, allocations: 4 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.3095, allocations: 11.98 kB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3095, allocations: 4 kB / 0.5715 GB, free: 9.836 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 (17): * Single equations (assignments): 17 * 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.0001842/0.3097, allocations: 189.7 kB / 0.5717 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.3097, allocations: 47.67 kB / 0.5717 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.3103, allocations: 279.8 kB / 0.572 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3103, allocations: 4 kB / 0.572 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3103, allocations: 4 kB / 0.572 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3103, allocations: 0 / 0.572 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.3113, allocations: 0.6613 MB / 0.5726 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3113, allocations: 8 kB / 0.5727 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3114, allocations: 31.92 kB / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3114, allocations: 0 / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3114, allocations: 8 kB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3114, allocations: 4 kB / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3114, allocations: 3.938 kB / 0.5727 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.3119, allocations: 333.4 kB / 0.573 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.312, allocations: 51.64 kB / 0.5731 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.312, allocations: 0 / 0.5731 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3121, allocations: 15.98 kB / 0.5731 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3121, allocations: 15.92 kB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3122, allocations: 4 kB / 0.5731 GB, free: 8.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004995/0.3127, allocations: 450.8 kB / 0.5735 GB, free: 7.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3127, allocations: 0 / 0.5735 GB, free: 7.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.313, allocations: 55.92 kB / 0.5736 GB, free: 7.617 MB / 414.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 (17): * Single equations (assignments): 17 * 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.003476/0.3165, allocations: 1.461 MB / 0.575 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.3168, allocations: 163.8 kB / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3168, allocations: 0 / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.317, allocations: 83.89 kB / 0.5752 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.3176, allocations: 92.02 kB / 0.5753 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.3226, allocations: 3.341 MB / 0.5786 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3232, allocations: 0.8298 MB / 0.5794 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3233, allocations: 62.22 kB / 0.5795 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3235, allocations: 135.4 kB / 0.5796 GB, free: 1.617 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3235, allocations: 4 kB / 0.5796 GB, free: 1.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3529, allocations: 8.141 MB / 0.5875 GB, free: 9.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 11.72 kB / 0.5876 GB, free: 9.496 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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: 14.297985111013986]