Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001864/0.001863, allocations: 109.2 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.002456/0.002456, 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.187/2.187, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3778/0.3778, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002514, allocations: 75.38 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1687, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.005292/0.1741, allocations: 1.981 MB / 481.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1766, allocations: 1.062 MB / 483 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1768, allocations: 0 / 483 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1773, allocations: 43.83 kB / 483 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1778, allocations: 75.69 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1782, allocations: 79.84 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1785, allocations: 139.5 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.1787, allocations: 33.53 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1789, allocations: 55.7 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.179, allocations: 47.72 kB / 483.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1791, allocations: 7.938 kB / 483.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1793, allocations: 43.98 kB / 483.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.1793, allocations: 19.91 kB / 483.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.1795, allocations: 55.61 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1797, allocations: 108.1 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1798, allocations: 0 / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1798, allocations: 0 / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1798, allocations: 0 / 483.7 MB, free: 1.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009033/0.1807, allocations: 484.4 kB / 484.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1808, allocations: 8.875 kB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.1809, allocations: 20.73 kB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.1812, allocations: 236.7 kB / 484.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1813, allocations: 4.375 kB / 484.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1813, allocations: 12.12 kB / 484.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1817, allocations: 108.2 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1817, allocations: 0 / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1817, allocations: 0 / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1817, allocations: 0 / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.182, allocations: 55.95 kB / 484.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.1828, allocations: 0.5048 MB / 485.1 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.1832, allocations: 98.58 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1834, allocations: 36.84 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1834, allocations: 0 / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.1838, allocations: 83.38 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.1838, allocations: 4 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005903/0.1844, allocations: 145.3 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1845, allocations: 59.34 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1847, allocations: 203 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1848, allocations: 25.7 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1849, allocations: 116 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.185, allocations: 31.55 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.185, allocations: 33.78 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1852, allocations: 330.8 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1853, allocations: 31.98 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1855, allocations: 60.27 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.1858, allocations: 92.22 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1858, allocations: 4 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004/0.1862, allocations: 137.3 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1862, allocations: 8.125 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1862, allocations: 0 / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1863, allocations: 4 kB / 486.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1864, allocations: 27.86 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1864, allocations: 4 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1866, allocations: 16.39 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1866, allocations: 4 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001673/0.1868, allocations: 125.8 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1868, allocations: 11.81 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.1869, allocations: 25.33 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1869, allocations: 15.81 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1869, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1869, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1872, allocations: 213.5 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1872, allocations: 0 / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1873, allocations: 15.98 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1873, allocations: 3.984 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1874, allocations: 4 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1874, allocations: 3.938 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1874, allocations: 4 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.1879, allocations: 180.9 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.188, allocations: 88.86 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1881, allocations: 4 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.1882, allocations: 11.94 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1882, allocations: 8.047 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1883, allocations: 8 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1885, allocations: 148.4 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1885, allocations: 0 / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1889, allocations: 27.98 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001406/0.1903, allocations: 399.6 kB / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1906, allocations: 84.03 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1907, allocations: 0 / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1908, allocations: 39.91 kB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1913, allocations: 38.03 kB / 488.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.1921, allocations: 323.3 kB / 488.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1925, allocations: 0.7126 MB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.1926, allocations: 23.44 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1926, allocations: 0 / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Templates: time 0.006248/0.1988, allocations: 2.191 MB / 491.3 MB, free: 10.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches