Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.000819/0.000819, 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.0008477/0.0008477, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9085/0.9085, allocations: 177 MB / 204.1 MB, free: 5.766 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.2504/0.2504, allocations: 34.23 MB / 294.8 MB, free: 0.6992 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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.926e-05, allocations: 12.55 kB / 442.3 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.1835/0.1835, allocations: 1.709 MB / 444 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1846, allocations: 0.9767 MB / 444.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.1847, allocations: 2.5 kB / 444.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.185, allocations: 47.27 kB / 445 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1853, allocations: 110 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1855, allocations: 72.73 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1856, allocations: 113.4 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.1857, allocations: 6.969 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.1858, allocations: 53.36 kB / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.1859, allocations: 37.36 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1859, allocations: 2.688 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1859, allocations: 40.06 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.186, allocations: 30.89 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.186, allocations: 24.23 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1862, allocations: 133.6 kB / 445.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1862, allocations: 3.906 kB / 445.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1862, allocations: 0 / 445.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1862, allocations: 2.875 kB / 445.6 MB, free: 42.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004217/0.1866, allocations: 368.8 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1867, allocations: 11.38 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.1867, allocations: 30.75 kB / 446 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1867, allocations: 14.66 kB / 446 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.187, allocations: 171.5 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.187, allocations: 384 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.187, allocations: 2.844 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1871, allocations: 60.73 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1872, allocations: 192 / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1872, allocations: 4.125 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1872, allocations: 0 / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.1872, allocations: 27.44 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.1875, allocations: 257.6 kB / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1876, allocations: 61 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.1877, allocations: 30.72 kB / 446.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1877, allocations: 0 / 446.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.1878, allocations: 73.86 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.1878, allocations: 0 / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004053/0.1882, allocations: 192.8 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.1883, allocations: 54.78 kB / 446.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1884, allocations: 276 kB / 447.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.1884, allocations: 28.45 kB / 447.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.1885, allocations: 114.4 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1885, allocations: 28.91 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1885, allocations: 26.75 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.1886, allocations: 329.7 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1886, allocations: 21.7 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.1886, allocations: 33.89 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.611e-05/0.1887, allocations: 68.64 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1887, allocations: 2.531 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000109/0.1888, allocations: 109.9 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1888, allocations: 8.609 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1888, allocations: 0 / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1888, allocations: 2.625 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.1889, allocations: 13.91 kB / 448 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1889, allocations: 3.938 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.1889, allocations: 16.17 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.189, allocations: 2.5 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.393e-05/0.189, allocations: 140.5 kB / 448.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.189, allocations: 21.02 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.1892, allocations: 124.8 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1892, allocations: 2.781 kB / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1892, allocations: 0 / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1892, allocations: 0 / 448.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1894, allocations: 391 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1894, allocations: 4.031 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.1895, allocations: 8.562 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1895, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1895, allocations: 2.906 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1895, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1895, allocations: 3 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1896, allocations: 219.2 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.1896, allocations: 13.38 kB / 448.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1896, allocations: 7.141 kB / 448.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.1897, allocations: 2.844 kB / 448.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1897, allocations: 17.97 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1897, allocations: 3.031 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.1898, allocations: 211.6 kB / 449.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1898, allocations: 0 / 449.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.19, allocations: 28 kB / 449.2 MB, free: 40.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.0009153/0.1909, allocations: 1.143 MB / 450.3 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.191, allocations: 56.91 kB / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.191, allocations: 0 / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.1911, allocations: 31.19 kB / 450.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1913, allocations: 30.27 kB / 450.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1925, allocations: 1.846 MB / 452.3 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.1925, allocations: 107.5 kB / 452.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.1926, allocations: 15.7 kB / 452.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.1926, allocations: 44.8 kB / 452.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1926, allocations: 0 / 452.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2112, allocations: 4.613 MB / 457.1 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.904, allocations: 11.53 kB / 457.1 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.897170942276716]