Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 101.4 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002611/0.002611, allocations: 193.9 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.737/1.737, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2881/0.2881, allocations: 46.18 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 12.22 kB / 418.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 63.56 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00229/0.179, allocations: 1.427 MB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1807, allocations: 0.944 MB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.1808, allocations: 8 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1812, allocations: 39.83 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.1815, allocations: 67.75 kB / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1817, allocations: 59.88 kB / 485 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1819, allocations: 95.69 kB / 485.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.182, allocations: 8 kB / 485.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1821, allocations: 43.77 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.1822, allocations: 35.78 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1822, allocations: 8 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.1824, allocations: 95.88 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1825, allocations: 7.984 kB / 485.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.1826, allocations: 45.62 kB / 485.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1828, allocations: 128 kB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1828, allocations: 0 / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1828, allocations: 0 / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1828, allocations: 4 kB / 485.4 MB, free: 1.512 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006899/0.1835, allocations: 409.2 kB / 485.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1836, allocations: 19.97 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1836, allocations: 7.906 kB / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.184, allocations: 210.8 kB / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.184, allocations: 0 / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.184, allocations: 4 kB / 486.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1842, allocations: 67.39 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1842, allocations: 4 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1843, allocations: 0 / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1843, allocations: 4 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.1844, allocations: 23.92 kB / 486.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1848, allocations: 276.8 kB / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.185, allocations: 74.53 kB / 486.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.1851, allocations: 36.91 kB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1851, allocations: 0 / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1853, allocations: 67.39 kB / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1853, allocations: 0 / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006034/0.1859, allocations: 205.2 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.186, allocations: 81.11 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1862, allocations: 162.2 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1862, allocations: 33.7 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.1863, allocations: 96.31 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1863, allocations: 39.55 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1863, allocations: 0 / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1865, allocations: 322.8 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.1865, allocations: 31.92 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.1866, allocations: 46.56 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.1867, allocations: 40.02 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1867, allocations: 0 / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000206/0.1869, allocations: 125.4 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.187, allocations: 4 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.187, allocations: 0 / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.187, allocations: 4 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1871, allocations: 23.98 kB / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1871, allocations: 0 / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.1872, allocations: 8.031 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1872, allocations: 8.422 kB / 487.8 MB, free: 14.88 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1873, allocations: 130.3 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.1874, allocations: 7.906 kB / 487.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.1874, allocations: 12.72 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1874, allocations: 0 / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1874, allocations: 0 / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1874, allocations: 4 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.188, allocations: 431.1 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.188, allocations: 4.188 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.188, allocations: 15.94 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.188, allocations: 3.938 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1881, allocations: 11.94 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1881, allocations: 3.953 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1881, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1883, allocations: 216.2 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.1884, allocations: 96.91 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1884, allocations: 4 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.1885, allocations: 4 kB / 488.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1886, allocations: 11.94 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1886, allocations: 4 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1887, allocations: 134.4 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1887, allocations: 0 / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000305/0.189, allocations: 51.98 kB / 488.9 MB, free: 13.66 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: 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 (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.001302/0.1903, allocations: 0.5535 MB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1906, allocations: 79.78 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1906, allocations: 0 / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.1907, allocations: 35.98 kB / 489.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.191, allocations: 30.34 kB / 489.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.1915, allocations: 238.5 kB / 489.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1919, allocations: 0.7009 MB / 490.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.192, allocations: 20.64 kB / 490.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.192, allocations: 23.42 kB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.192, allocations: 0 / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.005719/0.1978, allocations: 2.385 MB / 493 MB, free: 9.738 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches