Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001326/0.001326, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001367/0.001367, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.383/1.383, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2132/0.2132, allocations: 46.95 MB / 361.6 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 75.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2935, allocations: 66.08 MB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00294/0.2964, allocations: 1.582 MB / 0.563 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2974, allocations: 0.5265 MB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.2975, allocations: 3.938 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2977, allocations: 19.86 kB / 0.5635 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.2979, allocations: 87.61 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.2982, allocations: 110.9 kB / 0.5637 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2984, allocations: 67.83 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.2985, allocations: 9.828 kB / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.2985, allocations: 27.84 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.2986, allocations: 23.86 kB / 0.5638 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2986, allocations: 4 kB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.2987, allocations: 28 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.2987, allocations: 19.91 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.2988, allocations: 15.88 kB / 0.5639 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.2989, allocations: 87.59 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2989, allocations: 4 kB / 0.564 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2989, allocations: 0 / 0.564 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2989, allocations: 0 / 0.564 GB, free: 1.453 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.000444/0.2994, allocations: 301.9 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2994, allocations: 16.02 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.2994, allocations: 4.188 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.2995, allocations: 34.75 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.2995, allocations: 8.891 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2997, allocations: 140.4 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2997, allocations: 8.375 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2997, allocations: 4.312 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2998, allocations: 53.98 kB / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.2998, allocations: 0 / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2998, allocations: 4 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2999, allocations: 0 / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.2999, allocations: 23.98 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3003, allocations: 251.9 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3005, allocations: 46.5 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.3005, allocations: 20.94 kB / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3006, allocations: 0 / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3006, allocations: 30.56 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3006, allocations: 4 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005215/0.3011, allocations: 149.4 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3012, allocations: 51.41 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3013, allocations: 156.9 kB / 0.5653 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3013, allocations: 33.64 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3014, allocations: 96.08 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3014, allocations: 15.84 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3014, allocations: 17.72 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3016, allocations: 326.8 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.3016, allocations: 19.98 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.3017, allocations: 19.98 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3018, allocations: 60.77 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3018, allocations: 0 / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/0.302, allocations: 81.61 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.302, allocations: 8 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3021, allocations: 256 / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3021, allocations: 0 / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.3021, allocations: 19.98 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3021, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.3022, allocations: 4 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3022, allocations: 11.98 kB / 0.5659 GB, free: 15.27 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.279e-05/0.3023, allocations: 131 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3023, allocations: 7.953 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3026, allocations: 94.06 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3026, allocations: 0 / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3026, allocations: 0 / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3026, allocations: 3.984 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.303, allocations: 325.5 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.303, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.3031, allocations: 15.98 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3031, allocations: 0 / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3031, allocations: 0 / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3031, allocations: 0 / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3031, allocations: 3.938 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3033, allocations: 179.5 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.3033, allocations: 8.234 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3033, allocations: 7.984 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.3034, allocations: 8 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.3034, allocations: 15.86 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3034, allocations: 4.172 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.3035, allocations: 115.3 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3035, allocations: 0 / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3038, allocations: 15.92 kB / 0.5668 GB, free: 14.26 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.001934/0.3057, allocations: 1.038 MB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3059, allocations: 59.89 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3059, allocations: 4 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.306, allocations: 23.98 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3063, allocations: 19.02 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3081, allocations: 1.469 MB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.533e-05/0.3082, allocations: 83.08 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.753e-05/0.3082, allocations: 15.84 kB / 0.5695 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.3083, allocations: 27.42 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3083, allocations: 0 / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.3299, allocations: 2.787 MB / 0.5722 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.05, allocations: 18.94 kB / 0.5722 GB, free: 8.77 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.935559661011212]