Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 98.23 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.072e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5941, allocations: 87.21 MB / 0.5798 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5944, allocations: 75.95 kB / 0.5799 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009871/0.6043, allocations: 3.728 MB / 0.5835 GB, free: 5.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6044, allocations: 0 / 0.5835 GB, free: 5.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.6044, allocations: 0 / 0.5835 GB, free: 5.535 MB / 394.7 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.0003903/0.6048, allocations: 381.2 kB / 0.5839 GB, free: 5.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6048, allocations: 11.98 kB / 0.5839 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.6049, allocations: 7.906 kB / 0.5839 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.6051, allocations: 190.9 kB / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.6051, allocations: 7.938 kB / 0.5841 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.6052, allocations: 4 kB / 0.5841 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.396e-05/0.6052, allocations: 12 kB / 0.5841 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.6053, allocations: 37.69 kB / 0.5842 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6053, allocations: 0 / 0.5842 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6053, allocations: 4 kB / 0.5842 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.6054, allocations: 0 / 0.5842 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.6057, allocations: 257.4 kB / 0.5844 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.6059, allocations: 34.56 kB / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.6059, allocations: 8.859 kB / 0.5845 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.6059, allocations: 3.938 kB / 0.5845 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.606, allocations: 34.56 kB / 0.5845 GB, free: 4.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.606, allocations: 0 / 0.5845 GB, free: 4.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003637/0.6063, allocations: 101.4 kB / 0.5846 GB, free: 4.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.6064, allocations: 55.39 kB / 0.5846 GB, free: 4.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6065, allocations: 147.2 kB / 0.5848 GB, free: 4.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.6066, allocations: 25.7 kB / 0.5848 GB, free: 4.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.6066, allocations: 100.1 kB / 0.5849 GB, free: 3.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.6066, allocations: 15.72 kB / 0.5849 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.6067, allocations: 0 / 0.5849 GB, free: 3.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6068, allocations: 331.5 kB / 0.5852 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.6068, allocations: 8 kB / 0.5852 GB, free: 3.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.6068, allocations: 8 kB / 0.5853 GB, free: 3.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.6069, allocations: 8 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.6069, allocations: 0 / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.838e-05/0.607, allocations: 65.53 kB / 0.5853 GB, free: 3.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.607, allocations: 4 kB / 0.5853 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.607, allocations: 0 / 0.5853 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.607, allocations: 4.188 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.6071, allocations: 19.98 kB / 0.5854 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6071, allocations: 4 kB / 0.5854 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.6071, allocations: 8 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.6072, allocations: 3.984 kB / 0.5854 GB, free: 3.477 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.6072, allocations: 104.9 kB / 0.5855 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.6073, allocations: 11.91 kB / 0.5855 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.6074, allocations: 66.03 kB / 0.5855 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.6074, allocations: 4 kB / 0.5855 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6074, allocations: 4 kB / 0.5856 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6074, allocations: 144 / 0.5856 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.6078, allocations: 315.1 kB / 0.5859 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6078, allocations: 3.984 kB / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.6078, allocations: 12 kB / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6078, allocations: 0 / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.6079, allocations: 0 / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6079, allocations: 0 / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6079, allocations: 11.88 kB / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.608, allocations: 159.4 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.6081, allocations: 89 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6081, allocations: 4 kB / 0.5861 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.6082, allocations: 4 kB / 0.5861 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.6082, allocations: 3.984 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.6083, allocations: 4 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.65e-05/0.6084, allocations: 125.5 kB / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6084, allocations: 0 / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.6086, allocations: 19.92 kB / 0.5863 GB, free: 2.465 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007432/0.6094, allocations: 332.7 kB / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.6095, allocations: 28 kB / 0.5866 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6095, allocations: 0 / 0.5866 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.6095, allocations: 15.98 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.6097, allocations: 23.88 kB / 0.5867 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.61, allocations: 120.4 kB / 0.5868 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.6103, allocations: 0.6963 MB / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.6103, allocations: 12.19 kB / 0.5875 GB, free: 1.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.6104, allocations: 15.42 kB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6104, allocations: 3.938 kB / 0.5875 GB, free: 1.238 MB / 394.7 MB Notification: Performance of Templates: time 0.003129/0.6135, allocations: 1.027 MB / 0.5885 GB, free: 216 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches