Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001239/0.001239, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001341/0.001341, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8 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.2214/0.2214, allocations: 46.91 MB / 361.6 MB, free: 4.191 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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2947, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003023/0.2977, allocations: 1.605 MB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.2987, allocations: 0.5654 MB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.2988, allocations: 4 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.299, allocations: 27.8 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2992, allocations: 75.67 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2995, allocations: 119 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2997, allocations: 63.78 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.2997, allocations: 17.81 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.2998, allocations: 23.92 kB / 0.564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.2999, allocations: 19.86 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2999, allocations: 4 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.2999, allocations: 31.98 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.3, allocations: 27.84 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.3, allocations: 23.81 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3002, allocations: 91.53 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3002, allocations: 0 / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3002, allocations: 0 / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3002, allocations: 0 / 0.5641 GB, free: 1.594 MB / 398.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.0004758/0.3007, allocations: 317.8 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3007, allocations: 8.031 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.172e-05/0.3007, allocations: 4.188 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.3008, allocations: 34.75 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.3008, allocations: 12.84 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.301, allocations: 142.8 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.301, allocations: 4.375 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.301, allocations: 4.125 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3011, allocations: 57.67 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3011, allocations: 0 / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.3011, allocations: 0 / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.3011, allocations: 3.938 kB / 0.5647 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.3012, allocations: 27.97 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3016, allocations: 251.9 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3018, allocations: 46.56 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.3018, allocations: 16.94 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3018, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3019, allocations: 34.56 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3019, allocations: 0 / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000542/0.3024, allocations: 157.4 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3024, allocations: 51.41 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3026, allocations: 178.5 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3026, allocations: 29.7 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.3027, allocations: 96.08 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3027, allocations: 19.88 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.3028, allocations: 17.72 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3029, allocations: 330.8 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.303, allocations: 19.98 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.3031, allocations: 23.92 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3032, allocations: 57.02 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3032, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.3034, allocations: 85.56 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3034, allocations: 14.34 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3034, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3034, allocations: 0 / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.3035, allocations: 11.98 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3035, allocations: 4 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.3035, allocations: 7.938 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3036, allocations: 7.938 kB / 0.5661 GB, free: 15.36 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 (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 9.878e-05/0.3037, allocations: 123.1 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.3037, allocations: 15.95 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.3039, allocations: 94.05 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3039, allocations: 4 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3039, allocations: 0 / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3039, allocations: 3.938 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.3044, allocations: 329.6 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3044, allocations: 3.938 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3044, allocations: 15.98 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3044, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3045, allocations: 11.94 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3045, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3045, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.3047, allocations: 187.6 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.3047, allocations: 8.188 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3047, allocations: 11.94 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.3048, allocations: 3.984 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3048, allocations: 8 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3048, allocations: 3.984 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3049, allocations: 135.9 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3052, allocations: 19.92 kB / 0.5671 GB, free: 14.31 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 (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.001838/0.307, allocations: 1 MB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3072, allocations: 55.84 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3072, allocations: 0 / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.3073, allocations: 35.91 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3076, allocations: 22.28 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3095, allocations: 1.521 MB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3098, allocations: 0.7041 MB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.3099, allocations: 19.92 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3099, allocations: 23.42 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3099, allocations: 0 / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.331, allocations: 2.854 MB / 0.5732 GB, free: 8.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.89, allocations: 11.61 kB / 0.5732 GB, free: 8.125 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.79707386001246]