Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008028/0.0008028, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008749/0.0008749, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8737/0.8737, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2462/0.2462, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.647e-05, allocations: 2.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.1875/0.1876, allocations: 1.903 MB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1889, allocations: 1.007 MB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.189, allocations: 0 / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1894, allocations: 44.94 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1896, allocations: 102.4 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.1898, allocations: 100.1 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1899, allocations: 146.3 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.19, allocations: 24.97 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1901, allocations: 85.3 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.1902, allocations: 31.14 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1902, allocations: 9.938 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.1903, allocations: 47.83 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.1903, allocations: 30.84 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1904, allocations: 35.39 kB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1906, allocations: 154.1 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1906, allocations: 2.312 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1906, allocations: 6.922 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1906, allocations: 3.031 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000468/0.191, allocations: 406.6 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1911, allocations: 10.91 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.1911, allocations: 42.94 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.1911, allocations: 14.28 kB / 446.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1914, allocations: 173.2 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1914, allocations: 6.281 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1914, allocations: 8.75 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1916, allocations: 139.6 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1916, allocations: 192 / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1916, allocations: 4.125 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1916, allocations: 4.781 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.1917, allocations: 57 kB / 446.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.192, allocations: 475.9 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1922, allocations: 81.25 kB / 447.3 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.1923, allocations: 47.83 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.1923, allocations: 2.875 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.1924, allocations: 110.5 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1924, allocations: 0 / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000236/0.1926, allocations: 150.6 kB / 447.6 MB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.1927, allocations: 51.41 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1928, allocations: 204.3 kB / 447.9 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.1928, allocations: 25.7 kB / 447.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.1928, allocations: 127.6 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1928, allocations: 34.39 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1929, allocations: 29.42 kB / 448.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.1929, allocations: 335.1 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.1929, allocations: 25.73 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.193, allocations: 61.64 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1931, allocations: 114.3 kB / 448.6 MB, free: 40.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1931, allocations: 0 / 448.6 MB, free: 40.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001358/0.1932, allocations: 134.2 kB / 448.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1933, allocations: 5.844 kB / 448.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1933, allocations: 2.875 kB / 448.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1933, allocations: 4.125 kB / 448.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.1933, allocations: 24.97 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1933, allocations: 6.172 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.1934, allocations: 9.578 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1934, allocations: 6.75 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.271e-05/0.1934, allocations: 132.2 kB / 449 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.1934, allocations: 13.53 kB / 449 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.1936, allocations: 135.7 kB / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1936, allocations: 6.812 kB / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1936, allocations: 0 / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1936, allocations: 0 / 449.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.697e-05/0.1937, allocations: 179.2 kB / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1937, allocations: 6.172 kB / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.1938, allocations: 8.688 kB / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1938, allocations: 2.812 kB / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1938, allocations: 3.375 kB / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.1938, allocations: 0 / 449.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1938, allocations: 3.938 kB / 449.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.194, allocations: 201.1 kB / 449.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.194, allocations: 19.55 kB / 449.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.194, allocations: 0 / 449.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/0.194, allocations: 12.95 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1941, allocations: 10.12 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1941, allocations: 2.875 kB / 449.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.1941, allocations: 148.2 kB / 449.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1941, allocations: 0 / 449.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.1943, allocations: 27.75 kB / 449.7 MB, free: 39.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009314/0.1952, allocations: 1.056 MB / 450.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1954, allocations: 82.28 kB / 450.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1954, allocations: 0 / 450.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.1954, allocations: 34.47 kB / 450.9 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1956, allocations: 42.58 kB / 450.9 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1967, allocations: 1.773 MB / 452.7 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.1967, allocations: 100.3 kB / 452.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.1968, allocations: 25 kB / 452.8 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.1968, allocations: 44.66 kB / 452.9 MB, free: 37.66 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1968, allocations: 0 / 452.9 MB, free: 37.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.2119, allocations: 4.682 MB / 457.5 MB, free: 36.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/6.827, allocations: 6.969 kB / 457.6 MB, free: 36.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 8.772668461315334]