Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001214/0.001214, 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.001586/0.001586, allocations: 211 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.371/1.371, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.222/0.222, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002961/0.2956, allocations: 1.611 MB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2967, allocations: 0.5498 MB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.2967, allocations: 0 / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.297, allocations: 27.84 kB / 0.5636 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.2973, allocations: 75.62 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2976, allocations: 103 kB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2977, allocations: 59.84 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2979, allocations: 7.984 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.997e-05/0.2979, allocations: 35.84 kB / 0.5639 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.298, allocations: 15.88 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.298, allocations: 4 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2981, allocations: 35.98 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.2982, allocations: 15.92 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.2982, allocations: 23.8 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2984, allocations: 83.61 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2984, allocations: 4 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2984, allocations: 0 / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2984, allocations: 0 / 0.5641 GB, free: 1.625 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.0006171/0.299, allocations: 321.8 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.2991, allocations: 8.031 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.018e-05/0.2991, allocations: 4.125 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.2992, allocations: 34.73 kB / 0.5644 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.2992, allocations: 8.891 kB / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2995, allocations: 134.4 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2995, allocations: 4.375 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.2995, allocations: 8.312 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.2997, allocations: 53.98 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2997, allocations: 4 kB / 0.5646 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2997, allocations: 0 / 0.5646 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2998, allocations: 4 kB / 0.5646 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2999, allocations: 23.97 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.3004, allocations: 247.9 kB / 0.5649 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3007, allocations: 50.5 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.3007, allocations: 12.94 kB / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3008, allocations: 0 / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3008, allocations: 34.56 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3008, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007413/0.3015, allocations: 145.4 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3016, allocations: 55.41 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3018, allocations: 161.2 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3018, allocations: 29.7 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3018, allocations: 96.12 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3019, allocations: 19.8 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.3019, allocations: 17.72 kB / 0.5655 GB, free: 0 / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3021, allocations: 326.8 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.3022, allocations: 19.98 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.3023, allocations: 15.98 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3024, allocations: 56.7 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3024, allocations: 0 / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001783/0.3026, allocations: 77.62 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3026, allocations: 6.188 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3026, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3026, allocations: 7.984 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3027, allocations: 12 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3027, allocations: 0 / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.3027, allocations: 11.92 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3028, allocations: 4 kB / 0.566 GB, free: 15.46 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 0.0001434/0.3029, allocations: 119.1 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.3029, allocations: 7.953 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3032, allocations: 98.3 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3032, allocations: 4 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3032, allocations: 0 / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3032, allocations: 7.875 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3037, allocations: 317.6 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3037, allocations: 0 / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3038, allocations: 15.98 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3038, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3038, allocations: 3.938 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3038, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3038, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.304, allocations: 175.5 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.304, allocations: 7.953 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3041, allocations: 7.938 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3041, allocations: 11.94 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3042, allocations: 3.984 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3042, allocations: 4 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3043, allocations: 126.2 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3043, allocations: 0 / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3045, allocations: 19.95 kB / 0.5669 GB, free: 14.45 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.001915/0.3064, allocations: 1.009 MB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3066, allocations: 47.91 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3066, allocations: 0 / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.3067, allocations: 19.98 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3071, allocations: 22.94 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3088, allocations: 1.465 MB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3091, allocations: 0.7041 MB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.3091, allocations: 15.84 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.3092, allocations: 27.42 kB / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3092, allocations: 0 / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.3304, allocations: 2.777 MB / 0.5729 GB, free: 8.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.67, allocations: 11.09 kB / 0.5729 GB, free: 8.406 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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: 13.572618299978785]