Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 170.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.477/1.477, 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.0008935/0.0008936, allocations: 92.81 kB / 281.6 MB, free: 5.336 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.208/0.208, allocations: 44.16 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.806e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.6044, allocations: 87.21 MB / 0.5798 GB, free: 9.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.6047, allocations: 71.97 kB / 0.5799 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.6149, allocations: 3.692 MB / 0.5835 GB, free: 5.555 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.615, allocations: 4 kB / 0.5835 GB, free: 5.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.615, allocations: 4 kB / 0.5835 GB, free: 5.547 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.0005155/0.6155, allocations: 361.4 kB / 0.5839 GB, free: 5.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6156, allocations: 11.98 kB / 0.5839 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.6156, allocations: 7.906 kB / 0.5839 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.6159, allocations: 196.3 kB / 0.5841 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6159, allocations: 0 / 0.5841 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.616, allocations: 4 kB / 0.5841 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.215e-05/0.616, allocations: 19.94 kB / 0.5841 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/0.6161, allocations: 37.7 kB / 0.5841 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6162, allocations: 0 / 0.5841 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6162, allocations: 0 / 0.5841 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6162, allocations: 7.984 kB / 0.5841 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.6165, allocations: 245.4 kB / 0.5844 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.6168, allocations: 58.39 kB / 0.5844 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.6168, allocations: 8.859 kB / 0.5844 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.6169, allocations: 4 kB / 0.5844 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6169, allocations: 30.56 kB / 0.5845 GB, free: 4.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.6169, allocations: 0 / 0.5845 GB, free: 4.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004736/0.6174, allocations: 101.4 kB / 0.5846 GB, free: 4.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.6174, allocations: 51.41 kB / 0.5846 GB, free: 4.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.6176, allocations: 142.4 kB / 0.5847 GB, free: 4.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.6177, allocations: 25.7 kB / 0.5848 GB, free: 4.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.6177, allocations: 92.14 kB / 0.5849 GB, free: 3.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6178, allocations: 19.73 kB / 0.5849 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.6178, allocations: 0 / 0.5849 GB, free: 3.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.618, allocations: 318.8 kB / 0.5852 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.618, allocations: 8 kB / 0.5852 GB, free: 3.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.618, allocations: 4 kB / 0.5852 GB, free: 3.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.6181, allocations: 20.83 kB / 0.5852 GB, free: 3.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6181, allocations: 0 / 0.5852 GB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.255e-05/0.6182, allocations: 57.56 kB / 0.5853 GB, free: 3.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6182, allocations: 8 kB / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6182, allocations: 7.922 kB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6182, allocations: 0 / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.6183, allocations: 12 kB / 0.5853 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6183, allocations: 0 / 0.5853 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.6184, allocations: 7.984 kB / 0.5853 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.6184, allocations: 7.938 kB / 0.5853 GB, free: 3.512 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 8.925e-05/0.6185, allocations: 107.6 kB / 0.5854 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.6185, allocations: 11.86 kB / 0.5854 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.6187, allocations: 74.06 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6187, allocations: 0 / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6187, allocations: 0 / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6187, allocations: 0 / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.6191, allocations: 307.1 kB / 0.5858 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6191, allocations: 3.984 kB / 0.5858 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.6191, allocations: 12.38 kB / 0.5858 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6192, allocations: 0 / 0.5858 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.6192, allocations: 7.938 kB / 0.5858 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6192, allocations: 4 kB / 0.5858 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6192, allocations: 0 / 0.5858 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.6193, allocations: 155.4 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.6194, allocations: 101 kB / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.6194, allocations: 0 / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.6195, allocations: 4 kB / 0.5861 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.6195, allocations: 7.984 kB / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.6196, allocations: 0 / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.347e-05/0.6196, allocations: 116.5 kB / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6197, allocations: 0 / 0.5862 GB, free: 2.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.6199, allocations: 15.91 kB / 0.5862 GB, free: 2.516 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.0008238/0.6207, allocations: 344.4 kB / 0.5865 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.6209, allocations: 27.94 kB / 0.5866 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6209, allocations: 0 / 0.5866 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.6209, allocations: 12 kB / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.6211, allocations: 15.98 kB / 0.5866 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.6215, allocations: 111.8 kB / 0.5867 GB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.6218, allocations: 0.7002 MB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.443e-05/0.6219, allocations: 8.172 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.6219, allocations: 11.44 kB / 0.5874 GB, free: 1.309 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6219, allocations: 0 / 0.5874 GB, free: 1.309 MB / 394.7 MB Notification: Performance of Templates: time 0.00342/0.6254, allocations: 1.018 MB / 0.5884 GB, free: 300 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches