Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001258/0.001258, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001339/0.001339, allocations: 209.5 kB / 24.51 MB, free: 3.941 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 7.82 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.227/0.227, 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 75.88 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2951, allocations: 66.09 MB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003598/0.2987, allocations: 1.574 MB / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3009, allocations: 1.232 MB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.301, allocations: 0 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.3012, allocations: 19.84 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3016, allocations: 99.55 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3018, allocations: 87.7 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.302, allocations: 67.83 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3021, allocations: 9.828 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.3021, allocations: 27.86 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3023, allocations: 35.83 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3023, allocations: 4 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3025, allocations: 99.88 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3025, allocations: 11.94 kB / 0.5646 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3026, allocations: 19.92 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.3028, allocations: 135.5 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3028, allocations: 4 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3028, allocations: 0 / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3029, allocations: 4 kB / 0.5648 GB, free: 0.6445 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.0005113/0.3034, allocations: 325.6 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3034, allocations: 8.031 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.3034, allocations: 4.188 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.3035, allocations: 38.73 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3035, allocations: 8.891 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3037, allocations: 138.4 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3037, allocations: 4.312 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3037, allocations: 4.375 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.304, allocations: 93.41 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.304, allocations: 0 / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.304, allocations: 0 / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.304, allocations: 4 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.3041, allocations: 27.92 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3044, allocations: 244 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.3046, allocations: 38.56 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.3047, allocations: 16.94 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3047, allocations: 7.938 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3047, allocations: 30.56 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3047, allocations: 0 / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005624/0.3053, allocations: 145.4 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3053, allocations: 77.11 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3055, allocations: 148.5 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3055, allocations: 33.7 kB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3056, allocations: 92.08 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3056, allocations: 15.86 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3056, allocations: 21.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3058, allocations: 322.8 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.3058, allocations: 11.98 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.3059, allocations: 71.39 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.306, allocations: 40.84 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3061, allocations: 0 / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.3062, allocations: 89.73 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3062, allocations: 8 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3063, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3063, allocations: 3.938 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.3063, allocations: 16.02 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3063, allocations: 4 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.3064, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3064, allocations: 4 kB / 0.5668 GB, free: 14.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.387e-05/0.3065, allocations: 119.1 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.3065, allocations: 11.94 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.3067, allocations: 90 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3067, allocations: 0 / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3068, allocations: 0 / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3068, allocations: 4 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.3072, allocations: 313.6 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3072, allocations: 0 / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3072, allocations: 15.94 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3072, allocations: 3.938 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3072, allocations: 3.984 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3072, allocations: 7.922 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3072, allocations: 0 / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3075, allocations: 179.5 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.3075, allocations: 8.234 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3075, allocations: 4.234 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.3076, allocations: 11.94 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.3076, allocations: 11.97 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3076, allocations: 0 / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3077, allocations: 111.3 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3077, allocations: 0 / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.308, allocations: 39.86 kB / 0.5677 GB, free: 13.36 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.002236/0.3102, allocations: 1.128 MB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3104, allocations: 43.97 kB / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3104, allocations: 0 / 0.5688 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3105, allocations: 35.84 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3108, allocations: 19.31 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3125, allocations: 1.429 MB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.3125, allocations: 79.08 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.3126, allocations: 15.98 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.3127, allocations: 31.42 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3127, allocations: 0 / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.3368, allocations: 3.492 MB / 0.5738 GB, free: 7.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 11.44 kB / 0.5738 GB, free: 7.152 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.032488310011104]