Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002317/0.002317, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.195/2.195, allocations: 227.4 MB / 246.9 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3694/0.3694, allocations: 46.11 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002797, allocations: 78.5 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1713, allocations: 62.44 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004995/0.1764, allocations: 1.793 MB / 481.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1789, allocations: 1.017 MB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1791, allocations: 0 / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.1796, allocations: 35.91 kB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.1801, allocations: 83.61 kB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1804, allocations: 63.88 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1807, allocations: 95.75 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1809, allocations: 12 kB / 483 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.181, allocations: 43.72 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1812, allocations: 31.78 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1812, allocations: 8 kB / 483.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1814, allocations: 39.98 kB / 483.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.1815, allocations: 19.92 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.1815, allocations: 35.72 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1818, allocations: 84.12 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1818, allocations: 3.938 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1818, allocations: 0 / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1819, allocations: 0 / 483.3 MB, free: 2.324 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.0008147/0.1827, allocations: 422.9 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1827, allocations: 12.88 kB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.1828, allocations: 16.78 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1832, allocations: 204.8 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1832, allocations: 4.375 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1833, allocations: 8.109 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1835, allocations: 57.67 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1835, allocations: 3.938 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1836, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1836, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1837, allocations: 19.98 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.1842, allocations: 288.8 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1845, allocations: 54.69 kB / 484.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.1846, allocations: 24.78 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1847, allocations: 0 / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.185, allocations: 75.38 kB / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.185, allocations: 0 / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008155/0.1858, allocations: 169.5 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1859, allocations: 55.41 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1862, allocations: 190.9 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1862, allocations: 29.7 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.1863, allocations: 104.1 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1863, allocations: 27.7 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1864, allocations: 21.72 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1866, allocations: 326.8 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.1867, allocations: 28.05 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1868, allocations: 33.7 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.187, allocations: 65.66 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.187, allocations: 0 / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002915/0.1873, allocations: 109.3 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1874, allocations: 4 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1874, allocations: 4 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1874, allocations: 0 / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1876, allocations: 15.98 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1876, allocations: 4.141 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.1877, allocations: 11.94 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1877, allocations: 4.031 kB / 485.6 MB, free: 15.74 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 (10): * Single equations (assignments): 10 * 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.000157/0.1879, allocations: 125.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.1879, allocations: 12.08 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.925e-05/0.188, allocations: 25.34 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.188, allocations: 3.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.188, allocations: 0 / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1881, allocations: 3.938 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.1887, allocations: 403.2 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1888, allocations: 0 / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.1888, allocations: 8 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1888, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1889, allocations: 7.938 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1889, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1889, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.1893, allocations: 204.3 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.1893, allocations: 88.92 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1894, allocations: 3.938 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1895, allocations: 4 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.1896, allocations: 15.92 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1896, allocations: 4 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1898, allocations: 152.7 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1898, allocations: 0 / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.1904, allocations: 20 kB / 486.7 MB, free: 14.57 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 (8): * Single equations (assignments): 6 * 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.001734/0.1921, allocations: 462.8 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.1924, allocations: 55.91 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1925, allocations: 4.062 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1926, allocations: 31.98 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.1932, allocations: 31.48 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.194, allocations: 286.5 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.1945, allocations: 0.7082 MB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.1946, allocations: 19.42 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1946, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006524/0.2011, allocations: 1.936 MB / 490.2 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches