Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 176.1 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 223.1 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.489/0.489, allocations: 43.56 MB / 315 MB, free: 8.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007427/0.0007429, allocations: 30.64 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1799, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003223/0.1832, allocations: 1.418 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.185, allocations: 0.773 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1851, allocations: 7.938 kB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1855, allocations: 35.89 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.1857, allocations: 51.81 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1861, allocations: 75.86 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1864, allocations: 91.69 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1865, allocations: 16.22 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1867, allocations: 39.78 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1868, allocations: 35.78 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1868, allocations: 0 / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.187, allocations: 35.98 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.1871, allocations: 19.92 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.1872, allocations: 61.42 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1875, allocations: 107.9 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1875, allocations: 0 / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1875, allocations: 0 / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1875, allocations: 4 kB / 446.2 MB, free: 9.887 MB / 382.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.0006889/0.1882, allocations: 414.9 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1883, allocations: 8.031 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1883, allocations: 8.844 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1887, allocations: 212.7 kB / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1887, allocations: 384 / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1887, allocations: 12.06 kB / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1889, allocations: 57.67 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1889, allocations: 4 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.189, allocations: 0 / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.189, allocations: 4 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.1891, allocations: 19.92 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.1896, allocations: 284.9 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1899, allocations: 58.67 kB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.1899, allocations: 20.86 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.19, allocations: 0 / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.1902, allocations: 67.33 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1902, allocations: 0 / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000667/0.1909, allocations: 185.1 kB / 447.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1909, allocations: 55.41 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1912, allocations: 191.3 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1912, allocations: 29.7 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.1913, allocations: 104.1 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1913, allocations: 23.7 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1914, allocations: 13.72 kB / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1915, allocations: 326.8 kB / 448.3 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.1916, allocations: 23.98 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.1917, allocations: 37.7 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1918, allocations: 61.59 kB / 448.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1918, allocations: 0 / 448.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.192, allocations: 105.5 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.192, allocations: 8 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.192, allocations: 0 / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.192, allocations: 0 / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.1921, allocations: 23.95 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1922, allocations: 4 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1922, allocations: 3.938 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1922, allocations: 4 kB / 448.5 MB, free: 7.328 MB / 382.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.0001264/0.1924, allocations: 133.8 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1924, allocations: 7.906 kB / 448.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.1924, allocations: 17.39 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1925, allocations: 4 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1925, allocations: 4.188 kB / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1925, allocations: 3.938 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.193, allocations: 399.2 kB / 449.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.193, allocations: 0 / 449.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.193, allocations: 12.31 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.193, allocations: 0 / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.193, allocations: 7.938 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1931, allocations: 4 kB / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1931, allocations: 32 / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1934, allocations: 208.5 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.1935, allocations: 92.91 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1935, allocations: 7.938 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1936, allocations: 4 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1936, allocations: 7.984 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1936, allocations: 4 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1938, allocations: 156.9 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1938, allocations: 0 / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1941, allocations: 24 kB / 449.6 MB, free: 6.148 MB / 382.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.001164/0.1952, allocations: 473.5 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1955, allocations: 55.98 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1955, allocations: 0 / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.1956, allocations: 31.92 kB / 450.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.196, allocations: 19.98 kB / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.1966, allocations: 258.5 kB / 450.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.1971, allocations: 0.7043 MB / 451.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.1972, allocations: 21.12 kB / 451.2 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1972, allocations: 23.31 kB / 451.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1972, allocations: 0 / 451.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of Templates: time 0.006087/0.2033, allocations: 1.615 MB / 452.8 MB, free: 2.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches