Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.0009151, allocations: 103 kB / 16.02 MB, free: 76 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.001312/0.001312, allocations: 184.9 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.5098/0.5098, allocations: 43.56 MB / 315 MB, free: 9.031 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.0005354/0.0005354, allocations: 16.56 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1784, allocations: 58.88 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00251/0.181, allocations: 1.414 MB / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1825, allocations: 0.7808 MB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.1826, allocations: 0 / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1828, allocations: 23.91 kB / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.183, allocations: 43.84 kB / 445.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1832, allocations: 83.83 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1834, allocations: 91.7 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1835, allocations: 16.2 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.1836, allocations: 39.73 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.1837, allocations: 27.84 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1837, allocations: 4 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1838, allocations: 39.97 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.1839, allocations: 19.92 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.1839, allocations: 57.45 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1841, allocations: 119.8 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1842, allocations: 4 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1842, allocations: 4 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1842, allocations: 0 / 446.2 MB, free: 10.13 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.0005449/0.1847, allocations: 391.1 kB / 446.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1848, allocations: 8.031 kB / 446.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1848, allocations: 12.84 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1851, allocations: 212 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1851, allocations: 384 / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1852, allocations: 8.125 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1853, allocations: 61.61 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1853, allocations: 0 / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1853, allocations: 0 / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1854, allocations: 0 / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.1854, allocations: 27.92 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1858, allocations: 280.9 kB / 447.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.186, allocations: 62.61 kB / 447.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.1861, allocations: 20.84 kB / 447.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1861, allocations: 4 kB / 447.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1863, allocations: 75.28 kB / 447.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1863, allocations: 0 / 447.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005029/0.1868, allocations: 165.3 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1869, allocations: 55.41 kB / 447.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1871, allocations: 190.1 kB / 447.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1871, allocations: 25.7 kB / 447.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1872, allocations: 108 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1872, allocations: 19.72 kB / 447.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1873, allocations: 21.7 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1874, allocations: 326.8 kB / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.1875, allocations: 16 kB / 448.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1876, allocations: 45.64 kB / 448.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1877, allocations: 53.7 kB / 448.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1877, allocations: 0 / 448.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1879, allocations: 101.5 kB / 448.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1879, allocations: 7.984 kB / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1879, allocations: 0 / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1879, allocations: 4.219 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.188, allocations: 16 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.188, allocations: 3.938 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.1881, allocations: 7.938 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1881, allocations: 3.984 kB / 448.5 MB, free: 7.602 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.0001065/0.1882, allocations: 129.8 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1882, allocations: 7.906 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1883, allocations: 16.7 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1883, allocations: 0 / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1883, allocations: 8 kB / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1883, allocations: 3.938 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1887, allocations: 391.2 kB / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1888, allocations: 0 / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.1888, allocations: 8 kB / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1888, allocations: 3.938 kB / 449.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1888, allocations: 11.92 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1888, allocations: 240 / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1888, allocations: 4.031 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1891, allocations: 204.3 kB / 449.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.1892, allocations: 88.92 kB / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1892, allocations: 19.86 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.1893, allocations: 0 / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1893, allocations: 4 kB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1893, allocations: 12.36 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1895, allocations: 140.1 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1895, allocations: 0 / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1897, allocations: 23.98 kB / 449.6 MB, free: 6.445 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.001106/0.1908, allocations: 472.9 kB / 450 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.191, allocations: 59.86 kB / 450.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.191, allocations: 3.938 kB / 450.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.1911, allocations: 27.98 kB / 450.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1914, allocations: 23.97 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1919, allocations: 250.7 kB / 450.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1923, allocations: 0.7004 MB / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.1923, allocations: 21.17 kB / 451.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.1924, allocations: 15.44 kB / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1924, allocations: 0 / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of Templates: time 0.004141/0.1965, allocations: 1.611 MB / 452.7 MB, free: 3.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches