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.001966/0.001966, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002336/0.002336, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2182/0.2182, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.002203/0.002203, allocations: 71.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2982, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003085/0.3013, allocations: 1.605 MB / 0.5631 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3024, allocations: 0.5499 MB / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.3025, allocations: 0 / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3027, allocations: 31.78 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.303, allocations: 71.69 kB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3032, allocations: 98.94 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3034, allocations: 67.78 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.3035, allocations: 13.8 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.3035, allocations: 27.86 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.3036, allocations: 23.88 kB / 0.5639 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3036, allocations: 0 / 0.5639 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.3037, allocations: 31.98 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.3037, allocations: 27.84 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3038, allocations: 23.81 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.3039, allocations: 87.59 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3039, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3039, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3039, allocations: 0 / 0.5641 GB, free: 1.641 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.0004562/0.3044, allocations: 321.8 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3044, allocations: 8.031 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.3044, allocations: 4.188 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.3045, allocations: 38.75 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.3045, allocations: 12.84 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3047, allocations: 138.9 kB / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3047, allocations: 384 / 0.5646 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3047, allocations: 8.125 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3048, allocations: 49.67 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3048, allocations: 4 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3048, allocations: 4 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3049, allocations: 0 / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.3049, allocations: 23.92 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3053, allocations: 247.9 kB / 0.5649 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3055, allocations: 38.56 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.3055, allocations: 24.94 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3055, allocations: 0 / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3056, allocations: 30.56 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3056, allocations: 0 / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005592/0.3061, allocations: 149.4 kB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3062, allocations: 55.41 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3064, allocations: 170.5 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3064, allocations: 29.7 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.3064, allocations: 104 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3065, allocations: 15.91 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.3065, allocations: 17.72 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3067, allocations: 326.8 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3068, allocations: 15.98 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.3068, allocations: 23.92 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3069, allocations: 48.83 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3069, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.3071, allocations: 81.58 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3071, allocations: 10.12 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3071, allocations: 256 / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3072, allocations: 4 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.3072, allocations: 19.98 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3072, allocations: 0 / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.3073, allocations: 11.92 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.3073, allocations: 0 / 0.5661 GB, free: 15.44 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.293e-05/0.3074, allocations: 127.1 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.3074, allocations: 7.953 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3077, allocations: 90.06 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3077, allocations: 3.984 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3077, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3077, allocations: 3.938 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3081, allocations: 317.6 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3081, allocations: 0 / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.3082, allocations: 15.92 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3082, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3082, allocations: 11.94 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3082, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3082, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3084, allocations: 179.4 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.3085, allocations: 16.19 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3085, allocations: 3.938 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3086, allocations: 8 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3086, allocations: 3.984 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3086, allocations: 8.172 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3087, allocations: 135.9 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3087, allocations: 0 / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.3089, allocations: 19.92 kB / 0.567 GB, free: 14.42 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.001905/0.3109, allocations: 0.9997 MB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.311, allocations: 51.84 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.311, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.3111, allocations: 27.97 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3115, allocations: 18.53 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3133, allocations: 1.509 MB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3137, allocations: 0.6924 MB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.3137, allocations: 12.05 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.3138, allocations: 27.44 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3138, allocations: 0 / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.3346, allocations: 2.835 MB / 0.573 GB, free: 8.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.77, allocations: 3.609 kB / 0.573 GB, free: 8.309 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.671791881963145]