Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 108.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.09 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 72.08 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1787, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004823/0.1836, allocations: 1.797 MB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1856, allocations: 1.016 MB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1857, allocations: 0 / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.1863, allocations: 87.8 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.1869, allocations: 115.6 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1872, allocations: 59.89 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1875, allocations: 119.7 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1877, allocations: 16 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1878, allocations: 67.62 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.188, allocations: 63.81 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.188, allocations: 4 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1882, allocations: 55.98 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.1883, allocations: 31.91 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.1884, allocations: 51.61 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1887, allocations: 135.8 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.1887, allocations: 3.938 kB / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1887, allocations: 0 / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1888, allocations: 0 / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008914/0.1897, allocations: 438.8 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.1897, allocations: 8.031 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.1898, allocations: 38.75 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.1899, allocations: 8.844 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1902, allocations: 229.5 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1902, allocations: 8.375 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1902, allocations: 7.938 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1904, allocations: 53.67 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1905, allocations: 7.984 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1905, allocations: 4 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1905, allocations: 0 / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.1906, allocations: 23.98 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.1911, allocations: 308.7 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1914, allocations: 62.48 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.1916, allocations: 20.98 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1916, allocations: 7.984 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1919, allocations: 63.39 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.1919, allocations: 4 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007973/0.1927, allocations: 252.9 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1927, allocations: 59.33 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.193, allocations: 238.2 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.193, allocations: 29.7 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.1931, allocations: 108.1 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1931, allocations: 27.56 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1932, allocations: 33.7 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1933, allocations: 326.8 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.1934, allocations: 27.98 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.1935, allocations: 44.95 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1936, allocations: 85.69 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1937, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002103/0.1939, allocations: 133.4 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1939, allocations: 10.66 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1939, allocations: 0 / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1939, allocations: 3.984 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.194, allocations: 31.86 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.194, allocations: 0 / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1941, allocations: 0 / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1941, allocations: 8 kB / 485.9 MB, free: 14.96 MB / 366.1 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 (13): * Single equations (assignments): 13 * 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.0001425/0.1942, allocations: 137.9 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1943, allocations: 15.75 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.1943, allocations: 21.39 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1944, allocations: 3.938 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.1944, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1944, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.1949, allocations: 459.9 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1949, allocations: 4 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.195, allocations: 19.94 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.195, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.195, allocations: 7.984 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.195, allocations: 0 / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.195, allocations: 0 / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1953, allocations: 237.1 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1954, allocations: 88.92 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1954, allocations: 3.984 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1955, allocations: 8 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1956, allocations: 11.92 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1956, allocations: 4 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1957, allocations: 172.4 kB / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1958, allocations: 0 / 487 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.196, allocations: 35.98 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001803/0.1979, allocations: 1.159 MB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1981, allocations: 79.91 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.1981, allocations: 0 / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.1982, allocations: 47.86 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1986, allocations: 42.62 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2008, allocations: 1.863 MB / 490.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2011, allocations: 0.7195 MB / 491 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.2012, allocations: 20.62 kB / 491 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.248e-05/0.2013, allocations: 43.41 kB / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2013, allocations: 0 / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.2168, allocations: 3.77 MB / 494.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.217, allocations: 244.8 kB / 495.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.22, allocations: 3.75 kB / 495.1 MB, free: 5.777 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches