Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008096/0.0008096, 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.0008107/0.0008107, 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.8848/0.8848, allocations: 177 MB / 204.1 MB, free: 5.734 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.2659/0.2659, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 3.938 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.336e-05, allocations: 2.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.1846/0.1846, allocations: 1.901 MB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1857, allocations: 1.005 MB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.1858, allocations: 6.812 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.1861, allocations: 41.72 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1864, allocations: 100.4 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.1865, allocations: 98.69 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1867, allocations: 149.7 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1868, allocations: 31.42 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.1869, allocations: 72.16 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.187, allocations: 37.73 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.187, allocations: 5.625 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.1871, allocations: 49.77 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1872, allocations: 33.05 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.1872, allocations: 33.45 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1875, allocations: 155.1 kB / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1875, allocations: 3.375 kB / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1875, allocations: 3.328 kB / 445.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1875, allocations: 0 / 445.9 MB, free: 42.75 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.0004947/0.188, allocations: 415.6 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.188, allocations: 11.25 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.188, allocations: 36.17 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1881, allocations: 18.44 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1883, allocations: 172.4 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1883, allocations: 6.422 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1884, allocations: 9.656 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1885, allocations: 135.4 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.1885, allocations: 192 / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1886, allocations: 13.25 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1886, allocations: 0 / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.1886, allocations: 53.56 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.189, allocations: 472.6 kB / 447.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1893, allocations: 82.66 kB / 447.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1893, allocations: 48.69 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1893, allocations: 3.234 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.1895, allocations: 110.5 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1895, allocations: 0 / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002422/0.1897, allocations: 145.2 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.1897, allocations: 58.03 kB / 447.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1898, allocations: 203.5 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.1899, allocations: 29.02 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1899, allocations: 123.5 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1899, allocations: 36.41 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1899, allocations: 25.66 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.19, allocations: 330.4 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.19, allocations: 31.19 kB / 448.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.1901, allocations: 68.12 kB / 448.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.1902, allocations: 106.3 kB / 448.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1902, allocations: 2.719 kB / 448.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001397/0.1903, allocations: 136.5 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1903, allocations: 5.844 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1903, allocations: 0 / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1904, allocations: 7.125 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.1904, allocations: 20.83 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1904, allocations: 6.781 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.1905, allocations: 13.23 kB / 448.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1905, allocations: 6.188 kB / 448.8 MB, free: 40.57 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.513e-05/0.1905, allocations: 126.2 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1905, allocations: 16.16 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.1907, allocations: 141.3 kB / 449.1 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1907, allocations: 5.594 kB / 449.1 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1907, allocations: 2.938 kB / 449.1 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1907, allocations: 0 / 449.1 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.1908, allocations: 176.2 kB / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1908, allocations: 0 / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.1909, allocations: 18.78 kB / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.1909, allocations: 0 / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1909, allocations: 2.906 kB / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1909, allocations: 0 / 449.3 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1909, allocations: 7.875 kB / 449.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1911, allocations: 199.9 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.1911, allocations: 16.47 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1911, allocations: 0 / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.883e-05/0.1912, allocations: 12.69 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1912, allocations: 5.953 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1912, allocations: 2.812 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.1913, allocations: 147.8 kB / 449.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1913, allocations: 0 / 449.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.1914, allocations: 31.25 kB / 449.7 MB, free: 39.95 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.0009115/0.1924, allocations: 1.051 MB / 450.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1925, allocations: 84.66 kB / 450.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1925, allocations: 0 / 450.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.1926, allocations: 34.12 kB / 450.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1928, allocations: 42.41 kB / 450.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1939, allocations: 1.775 MB / 452.7 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.1939, allocations: 99.02 kB / 452.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.194, allocations: 21.61 kB / 452.8 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.194, allocations: 44.59 kB / 452.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.194, allocations: 0 / 452.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2114, allocations: 4.689 MB / 457.6 MB, free: 36.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.915, allocations: 7.125 kB / 457.6 MB, free: 36.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.903869276866317]