Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007397/0.0007398, 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.001041/0.001041, allocations: 177.8 kB / 16.91 MB, free: 6.641 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.048/2.048, allocations: 205.4 MB / 223.1 MB, free: 5.445 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.4793/0.4793, allocations: 43.57 MB / 315 MB, free: 8.785 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.0006572/0.0006575, allocations: 12 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.174, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003075/0.1772, allocations: 1.275 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1783, allocations: 307.6 kB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.1784, allocations: 0 / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.1788, allocations: 19.92 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.179, allocations: 35.91 kB / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1794, allocations: 63.8 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1796, allocations: 47.91 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1798, allocations: 19.97 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.1798, allocations: 23.8 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.1799, allocations: 15.92 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.18, allocations: 0 / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1801, allocations: 28 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1802, allocations: 19.91 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.1802, allocations: 45.52 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1804, allocations: 76 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1805, allocations: 0 / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1805, allocations: 4 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1805, allocations: 0 / 445.4 MB, free: 10.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005752/0.1811, allocations: 383.1 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1811, allocations: 12.03 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.1812, allocations: 4.844 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1814, allocations: 192.2 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1814, allocations: 384 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1815, allocations: 384 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1816, allocations: 57.8 kB / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1817, allocations: 0 / 446 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1817, allocations: 8 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1817, allocations: 0 / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.1818, allocations: 19.98 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1822, allocations: 292.7 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1825, allocations: 38.56 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1825, allocations: 16.94 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1825, allocations: 4 kB / 446.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1826, allocations: 34.56 kB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1826, allocations: 4 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005964/0.1832, allocations: 161.3 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1833, allocations: 55.41 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1834, allocations: 161.8 kB / 446.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1835, allocations: 25.7 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1835, allocations: 104.1 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1836, allocations: 15.75 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.1836, allocations: 13.72 kB / 447 MB, free: 8.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1837, allocations: 326.8 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.1838, allocations: 19.98 kB / 447.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.1839, allocations: 23.98 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.184, allocations: 48.83 kB / 447.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.184, allocations: 4 kB / 447.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.1842, allocations: 93.52 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1843, allocations: 4 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1843, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1843, allocations: 288 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.1843, allocations: 19.92 kB / 447.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1844, allocations: 11.94 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.1844, allocations: 4 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1844, allocations: 0 / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001031/0.1845, allocations: 133.7 kB / 447.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1846, allocations: 11.89 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1848, allocations: 101.9 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1849, allocations: 4 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1849, allocations: 0 / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1849, allocations: 0 / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.1853, allocations: 358.8 kB / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1853, allocations: 0 / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.1854, allocations: 19.98 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1854, allocations: 0 / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1854, allocations: 4 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1854, allocations: 3.938 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1854, allocations: 0 / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1857, allocations: 191.4 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.1857, allocations: 85.02 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1858, allocations: 0 / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.1858, allocations: 11.92 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1859, allocations: 4 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1859, allocations: 4 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.186, allocations: 134.9 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.186, allocations: 0 / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1863, allocations: 16 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001035/0.1873, allocations: 401.8 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1875, allocations: 55.91 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1875, allocations: 0 / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.1876, allocations: 27.98 kB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.188, allocations: 19.98 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.1885, allocations: 205.3 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1888, allocations: 0.6926 MB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.1888, allocations: 7.984 kB / 450 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1889, allocations: 15.42 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1889, allocations: 4 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of Templates: time 0.004112/0.193, allocations: 1.023 MB / 451 MB, free: 4.734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches