Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.00122/0.00122, 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.001408/0.001408, allocations: 209.5 kB / 24.52 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.355/1.355, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2124/0.2124, allocations: 46.95 MB / 361.6 MB, free: 3.926 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 76.16 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.286, allocations: 66.08 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003228/0.2892, allocations: 1.592 MB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2903, allocations: 0.511 MB / 0.5635 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.2904, allocations: 3.938 kB / 0.5635 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.2906, allocations: 31.78 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.2909, allocations: 83.67 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2912, allocations: 90.91 kB / 0.5637 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.2913, allocations: 71.81 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2914, allocations: 5.828 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.2915, allocations: 23.86 kB / 0.5638 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.2915, allocations: 23.86 kB / 0.5638 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2916, allocations: 4 kB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.2916, allocations: 35.98 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.2917, allocations: 15.92 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.2917, allocations: 23.81 kB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2919, allocations: 91.58 kB / 0.564 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2919, allocations: 0 / 0.564 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2919, allocations: 0 / 0.564 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2919, allocations: 0 / 0.564 GB, free: 1.449 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.0005133/0.2924, allocations: 313.8 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2925, allocations: 12.03 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/0.2925, allocations: 192 / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.2925, allocations: 34.75 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2926, allocations: 12.84 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.2928, allocations: 146.8 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.2928, allocations: 4.375 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.2928, allocations: 8.125 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2929, allocations: 45.69 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2929, allocations: 0 / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.293, allocations: 4 kB / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.293, allocations: 0 / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.2931, allocations: 23.97 kB / 0.5646 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2935, allocations: 247.9 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2937, allocations: 42.5 kB / 0.5648 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.2938, allocations: 20.94 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2938, allocations: 0 / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2938, allocations: 34.56 kB / 0.5649 GB, free: 392 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2938, allocations: 4 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005261/0.2943, allocations: 145.4 kB / 0.565 GB, free: 236 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2944, allocations: 51.41 kB / 0.5651 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2946, allocations: 174.5 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2946, allocations: 29.7 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.2946, allocations: 104.1 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2947, allocations: 11.89 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2947, allocations: 17.72 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2949, allocations: 326.8 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.2949, allocations: 19.98 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.295, allocations: 15.98 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2951, allocations: 52.7 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.2951, allocations: 4 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.2953, allocations: 85.58 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2953, allocations: 4 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2953, allocations: 4 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2954, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.2954, allocations: 11.98 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2954, allocations: 0 / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.2955, allocations: 7.938 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2955, allocations: 4 kB / 0.5659 GB, free: 15.26 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.0001009/0.2956, allocations: 127.1 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.2956, allocations: 8.203 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.2959, allocations: 94.06 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2959, allocations: 4 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2959, allocations: 0 / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2959, allocations: 3.938 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.2963, allocations: 309.6 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2963, allocations: 8 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.2964, allocations: 11.98 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2964, allocations: 3.938 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2964, allocations: 7.938 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2964, allocations: 0 / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2964, allocations: 4 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.2966, allocations: 175.4 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.2966, allocations: 11.91 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2966, allocations: 8.203 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.2967, allocations: 8 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.2968, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2968, allocations: 7.984 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2969, allocations: 135.9 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2969, allocations: 0 / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.2971, allocations: 19.94 kB / 0.5668 GB, free: 14.25 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.00214/0.2993, allocations: 1.034 MB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2995, allocations: 51.84 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2995, allocations: 3.938 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.2995, allocations: 19.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.0003716/0.2999, allocations: 15.98 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.001951/0.3019, allocations: 1.502 MB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.271e-05/0.3019, allocations: 91.45 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.302, allocations: 4 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.302, allocations: 23.42 kB / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.302, allocations: 0 / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3237, allocations: 2.892 MB / 0.5723 GB, free: 8.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.89, allocations: 12.22 kB / 0.5723 GB, free: 8.656 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.73813697102014]