Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 98.25 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 188.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005374, allocations: 17.08 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1775, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002735/0.1804, allocations: 1.464 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1819, allocations: 0.8972 MB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.182, allocations: 3.938 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.1827, allocations: 287.4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1831, allocations: 191.5 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1836, allocations: 151.1 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1839, allocations: 207.3 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.1839, allocations: 5.562 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1841, allocations: 115.6 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1843, allocations: 159.6 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1844, allocations: 4 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.1844, allocations: 31.98 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1846, allocations: 131.6 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.1847, allocations: 81.45 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.185, allocations: 263.8 kB / 475.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.185, allocations: 4 kB / 475.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.185, allocations: 3.938 kB / 475.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.185, allocations: 0 / 475.6 MB, free: 9.707 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.001031/0.1861, allocations: 0.661 MB / 476.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.1861, allocations: 8.562 kB / 476.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.1862, allocations: 47.34 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.1869, allocations: 423.1 kB / 476.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1869, allocations: 0 / 476.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1869, allocations: 4 kB / 476.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.1872, allocations: 83.33 kB / 476.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1872, allocations: 0 / 476.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1872, allocations: 3.984 kB / 476.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1872, allocations: 4 kB / 476.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1873, allocations: 39.91 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.1878, allocations: 370.3 kB / 477.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.1881, allocations: 105.2 kB / 477.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.1882, allocations: 41.7 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1883, allocations: 4 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.1885, allocations: 116.9 kB / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1885, allocations: 0 / 477.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004485/0.189, allocations: 201.2 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1891, allocations: 81.05 kB / 477.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1901, allocations: 1.007 MB / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1902, allocations: 29.7 kB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1903, allocations: 228.1 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1904, allocations: 23.7 kB / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.1904, allocations: 0 / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1906, allocations: 370.8 kB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.1907, allocations: 27.98 kB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.1908, allocations: 59.41 kB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.1909, allocations: 28 kB / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1909, allocations: 0 / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002711/0.1911, allocations: 176.9 kB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1912, allocations: 14.45 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1912, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1912, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1913, allocations: 23.98 kB / 479.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1913, allocations: 0 / 479.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.1914, allocations: 11.94 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1915, allocations: 8 kB / 479.7 MB, free: 5.293 MB / 350.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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.1917, allocations: 221.7 kB / 479.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1917, allocations: 47.34 kB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.1918, allocations: 63.8 kB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1918, allocations: 0 / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1918, allocations: 0 / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1919, allocations: 4 kB / 480 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1922, allocations: 333.5 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1922, allocations: 3.984 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1922, allocations: 8 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1922, allocations: 448 / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1923, allocations: 3.938 kB / 480.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1923, allocations: 11.95 kB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1923, allocations: 4 kB / 480.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1926, allocations: 205.2 kB / 480.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1927, allocations: 140.5 kB / 480.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1928, allocations: 4 kB / 480.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.1929, allocations: 11.98 kB / 480.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1929, allocations: 11.94 kB / 480.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1929, allocations: 11.94 kB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007748/0.1937, allocations: 0.7487 MB / 481.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 0 / 481.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.194, allocations: 43.98 kB / 481.6 MB, free: 3.336 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009637/0.195, allocations: 405.4 kB / 482 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1952, allocations: 83.91 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1952, allocations: 3.938 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1953, allocations: 43.91 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1958, allocations: 62.27 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.197, allocations: 0.8892 MB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.1975, allocations: 0.8391 MB / 483.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.1976, allocations: 54.95 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.1977, allocations: 31.42 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1977, allocations: 0 / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Templates: time 0.007371/0.2051, allocations: 3.344 MB / 487.3 MB, free: 13.71 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches