Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001642/0.001642, 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.00216/0.00216, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 7.773 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.2362/0.2362, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 75.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3087, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003103/0.3118, allocations: 1.589 MB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.3128, allocations: 0.5148 MB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.3129, allocations: 7.938 kB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.3131, allocations: 23.84 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.3133, allocations: 87.61 kB / 0.5636 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3136, allocations: 110.7 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3138, allocations: 67.83 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.3138, allocations: 9.828 kB / 0.5638 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.3139, allocations: 27.84 kB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.314, allocations: 23.86 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.314, allocations: 4 kB / 0.5639 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.314, allocations: 35.94 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.3141, allocations: 15.92 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3141, allocations: 15.86 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3143, allocations: 87.59 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3143, allocations: 4 kB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3143, allocations: 4 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3143, allocations: 0 / 0.564 GB, free: 1.426 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.0004548/0.3148, allocations: 317.8 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3148, allocations: 8.031 kB / 0.5643 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.3148, allocations: 4.188 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.3148, allocations: 30.75 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.3149, allocations: 8.891 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3151, allocations: 137.2 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3151, allocations: 4.375 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3151, allocations: 4.375 kB / 0.5645 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3152, allocations: 61.92 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3152, allocations: 0 / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.3152, allocations: 0 / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3153, allocations: 0 / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.3153, allocations: 23.98 kB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.3157, allocations: 251.9 kB / 0.5648 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3159, allocations: 46.5 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.316, allocations: 16.94 kB / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.316, allocations: 4 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.316, allocations: 34.56 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.316, allocations: 0 / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.3166, allocations: 153.3 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3166, allocations: 51.41 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3168, allocations: 165.8 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3168, allocations: 25.7 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3169, allocations: 100.1 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3169, allocations: 19.8 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3169, allocations: 25.64 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3171, allocations: 318.8 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3172, allocations: 19.98 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.3172, allocations: 23.97 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3173, allocations: 56.77 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3173, allocations: 192 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.3176, allocations: 97.61 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3176, allocations: 4 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3176, allocations: 0 / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3176, allocations: 0 / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.3176, allocations: 15.94 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3176, allocations: 3.984 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3177, allocations: 7.938 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.3177, allocations: 0 / 0.566 GB, free: 15.23 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 8.786e-05/0.3178, allocations: 119.2 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3178, allocations: 19.94 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.3181, allocations: 94 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3181, allocations: 4 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3181, allocations: 0 / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3181, allocations: 3.938 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.3185, allocations: 321.6 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3185, allocations: 4 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.3186, allocations: 19.98 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3186, allocations: 0 / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3186, allocations: 3.938 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3186, allocations: 0 / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3186, allocations: 7.984 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3188, allocations: 179.7 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.3188, allocations: 4.234 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3189, allocations: 11.94 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.3189, allocations: 7.984 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.319, allocations: 8 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.319, allocations: 11.91 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3191, allocations: 126.6 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3191, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.3193, allocations: 19.95 kB / 0.5669 GB, free: 14.2 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.001996/0.3213, allocations: 1.034 MB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3215, allocations: 59.91 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3215, allocations: 0 / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.3216, allocations: 27.97 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.322, allocations: 15.23 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3238, allocations: 1.496 MB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.386e-05/0.3239, allocations: 91.25 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.324, allocations: 19.7 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.324, allocations: 23.44 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.324, allocations: 0 / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.3459, allocations: 2.851 MB / 0.5724 GB, free: 8.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.03, allocations: 4.062 kB / 0.5724 GB, free: 8.621 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.059870160068385]