Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 174.4 kB / 8.74 MB, free: 348 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.363/1.363, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009354/0.0009349, allocations: 97.06 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.1953/0.1953, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.953e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6736, allocations: 87.21 MB / 0.5798 GB, free: 9.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6739, allocations: 75.95 kB / 0.5799 GB, free: 9.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009946/0.6838, allocations: 3.683 MB / 0.5835 GB, free: 5.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6839, allocations: 0 / 0.5835 GB, free: 5.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.6839, allocations: 4 kB / 0.5835 GB, free: 5.59 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.0003996/0.6843, allocations: 362.4 kB / 0.5839 GB, free: 5.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6844, allocations: 15.98 kB / 0.5839 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.6844, allocations: 3.906 kB / 0.5839 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.6847, allocations: 196.3 kB / 0.5841 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6847, allocations: 4 kB / 0.5841 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6847, allocations: 0 / 0.5841 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.048e-05/0.6848, allocations: 11.95 kB / 0.5841 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.144e-05/0.6849, allocations: 45.69 kB / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6849, allocations: 0 / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6849, allocations: 0 / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6849, allocations: 0 / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.6853, allocations: 253.4 kB / 0.5844 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.6854, allocations: 46.39 kB / 0.5844 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.6855, allocations: 16.86 kB / 0.5844 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.6855, allocations: 0 / 0.5844 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6855, allocations: 34.56 kB / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.6855, allocations: 0 / 0.5845 GB, free: 4.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003751/0.6859, allocations: 109.3 kB / 0.5846 GB, free: 4.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.686, allocations: 55.41 kB / 0.5846 GB, free: 4.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.6861, allocations: 130.4 kB / 0.5847 GB, free: 4.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.6861, allocations: 29.7 kB / 0.5848 GB, free: 4.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.6862, allocations: 96.12 kB / 0.5849 GB, free: 4.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.6862, allocations: 11.75 kB / 0.5849 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.6862, allocations: 0 / 0.5849 GB, free: 4.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6863, allocations: 322.8 kB / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.6864, allocations: 8 kB / 0.5852 GB, free: 3.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.6864, allocations: 12 kB / 0.5852 GB, free: 3.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.6864, allocations: 8 kB / 0.5852 GB, free: 3.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-07/0.6864, allocations: 0 / 0.5852 GB, free: 3.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.894e-05/0.6865, allocations: 69.55 kB / 0.5853 GB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6865, allocations: 7.938 kB / 0.5853 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6865, allocations: 0 / 0.5853 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6866, allocations: 0 / 0.5853 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.6866, allocations: 15.98 kB / 0.5853 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6866, allocations: 0 / 0.5853 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.6867, allocations: 4 kB / 0.5853 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.6867, allocations: 4 kB / 0.5853 GB, free: 3.555 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.579e-05/0.6868, allocations: 105 kB / 0.5854 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.6868, allocations: 15.8 kB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.687, allocations: 74.06 kB / 0.5855 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.687, allocations: 0 / 0.5855 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.687, allocations: 0 / 0.5855 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.687, allocations: 0 / 0.5855 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.6873, allocations: 307 kB / 0.5858 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6873, allocations: 0 / 0.5858 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.6874, allocations: 19.98 kB / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6874, allocations: 384 / 0.5858 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.6874, allocations: 3.938 kB / 0.5858 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6874, allocations: 4 kB / 0.5858 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6874, allocations: 0 / 0.5858 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.6876, allocations: 159.4 kB / 0.586 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.6876, allocations: 88.97 kB / 0.586 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.6877, allocations: 4 kB / 0.586 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.6877, allocations: 11.98 kB / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.6878, allocations: 0 / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.6878, allocations: 8 kB / 0.5861 GB, free: 2.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.6879, allocations: 108.5 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6879, allocations: 0 / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.6881, allocations: 27.89 kB / 0.5862 GB, free: 2.547 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.0007412/0.6889, allocations: 333 kB / 0.5865 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.732e-05/0.689, allocations: 31.92 kB / 0.5865 GB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.689, allocations: 0 / 0.5865 GB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.689, allocations: 16 kB / 0.5866 GB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.6892, allocations: 4 kB / 0.5866 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.6896, allocations: 119.7 kB / 0.5867 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.6899, allocations: 0.7001 MB / 0.5874 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.6899, allocations: 8.188 kB / 0.5874 GB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.69, allocations: 11.44 kB / 0.5874 GB, free: 1.348 MB / 394.7 MB Notification: Performance of SimCode: time 2.294e-06/0.69, allocations: 0 / 0.5874 GB, free: 1.348 MB / 394.7 MB Notification: Performance of Templates: time 0.003231/0.6932, allocations: 1.012 MB / 0.5884 GB, free: 348 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches