Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2684/0.2684, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 80.53 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.176, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004023/0.1801, allocations: 1.824 MB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1824, allocations: 1.103 MB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.1825, allocations: 3.938 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.1831, allocations: 311.3 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1837, allocations: 255.2 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.184, allocations: 103.6 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.1845, allocations: 259.4 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.224e-05/0.1846, allocations: 17.67 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1848, allocations: 135.5 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1851, allocations: 195.5 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1851, allocations: 8 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1853, allocations: 47.98 kB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.1855, allocations: 135.5 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.1856, allocations: 150.8 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.1861, allocations: 375 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1861, allocations: 0 / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1862, allocations: 0 / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1862, allocations: 0 / 485 MB, free: 308 kB / 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.001035/0.1872, allocations: 0.7385 MB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1873, allocations: 8.031 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.1873, allocations: 52.28 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.1881, allocations: 455.7 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1881, allocations: 384 / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1882, allocations: 8.125 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1884, allocations: 87.36 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1884, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1884, allocations: 4 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1884, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1886, allocations: 35.91 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.189, allocations: 378.4 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.1894, allocations: 109.2 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.1895, allocations: 45.58 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1896, allocations: 3.984 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.1899, allocations: 113 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1899, allocations: 0 / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004964/0.1904, allocations: 192.9 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1905, allocations: 81.11 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.1918, allocations: 1.054 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1919, allocations: 29.7 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.1921, allocations: 240.1 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1922, allocations: 27.64 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.1922, allocations: 29.72 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.1925, allocations: 362.8 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.1926, allocations: 31.97 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1927, allocations: 55.42 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1929, allocations: 99.8 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/0.193, allocations: 3.984 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003234/0.1933, allocations: 164.9 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1934, allocations: 10.5 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1934, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1934, allocations: 4.062 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1935, allocations: 27.92 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1935, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1936, allocations: 15.84 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.1937, allocations: 7.984 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0002478/0.1939, allocations: 229.6 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.194, allocations: 51.34 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.1941, allocations: 64.12 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1941, allocations: 0 / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1941, allocations: 8 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1941, allocations: 0 / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.1945, allocations: 349.4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1945, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.1946, allocations: 8 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1946, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.1946, allocations: 7.984 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1946, allocations: 0 / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1946, allocations: 3.938 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.195, allocations: 205.3 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.1951, allocations: 140.4 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.1952, allocations: 8 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.1953, allocations: 7.984 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1954, allocations: 7.984 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1954, allocations: 8 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008891/0.1963, allocations: 0.7839 MB / 491.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1963, allocations: 0 / 491.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1966, allocations: 40 kB / 491.3 MB, free: 9.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001468/0.198, allocations: 416.1 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1983, allocations: 88.02 kB / 491.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1983, allocations: 0 / 491.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1985, allocations: 44.17 kB / 491.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.1989, allocations: 77.7 kB / 491.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2003, allocations: 0.8784 MB / 492.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.201, allocations: 0.8466 MB / 493.7 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.2012, allocations: 62.92 kB / 493.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.2012, allocations: 27.44 kB / 493.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2012, allocations: 4 kB / 493.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of Templates: time 0.008945/0.2102, allocations: 3.779 MB / 497.5 MB, free: 3.488 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches