Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 103.8 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5018/0.5018, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004828, allocations: 15.98 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5942, allocations: 86.63 MB / 0.5633 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.5946, allocations: 75.97 kB / 0.5634 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.6122, allocations: 4.301 MB / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6122, allocations: 0 / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.6123, allocations: 4 kB / 0.5676 GB, free: 11.62 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.0005188/0.6128, allocations: 379.8 kB / 0.568 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6129, allocations: 12.02 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.6129, allocations: 12.66 kB / 0.568 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.6132, allocations: 191.5 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.6132, allocations: 8 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.6133, allocations: 0 / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.6135, allocations: 65.66 kB / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6135, allocations: 0 / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6135, allocations: 4 kB / 0.5682 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6135, allocations: 7.984 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.6137, allocations: 28.95 kB / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.6142, allocations: 264.9 kB / 0.5685 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.6145, allocations: 54.5 kB / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6145, allocations: 0 / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6146, allocations: 34.56 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.6146, allocations: 0 / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008301/0.6154, allocations: 157.6 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.6155, allocations: 77.11 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.6157, allocations: 135.3 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.6157, allocations: 25.7 kB / 0.569 GB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.6158, allocations: 158.5 kB / 0.5691 GB, free: 9.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.6158, allocations: 19.75 kB / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.6159, allocations: 4 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.616, allocations: 310.8 kB / 0.5695 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6161, allocations: 23.98 kB / 0.5695 GB, free: 9.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.6163, allocations: 37.69 kB / 0.5695 GB, free: 9.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.6164, allocations: 24.03 kB / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6164, allocations: 0 / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003094/0.6167, allocations: 89.59 kB / 0.5696 GB, free: 9.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6168, allocations: 4 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6168, allocations: 0 / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6168, allocations: 4.875 kB / 0.5696 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.6169, allocations: 12 kB / 0.5697 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.617, allocations: 3.984 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.6171, allocations: 4 kB / 0.5697 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.6171, allocations: 7.953 kB / 0.5697 GB, free: 9.297 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.6172, allocations: 113.8 kB / 0.5698 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.6172, allocations: 7.906 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.6176, allocations: 97.81 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.6176, allocations: 64 / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.6176, allocations: 4 kB / 0.5699 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6177, allocations: 3.984 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.6183, allocations: 354.5 kB / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6183, allocations: 0 / 0.5702 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.6184, allocations: 19.92 kB / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6185, allocations: 0 / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6185, allocations: 0 / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.6185, allocations: 0 / 0.5702 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6185, allocations: 4 kB / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.6189, allocations: 191.4 kB / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.6189, allocations: 89.3 kB / 0.5705 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.619, allocations: 0 / 0.5705 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6191, allocations: 15.92 kB / 0.5705 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.6192, allocations: 4 kB / 0.5705 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.6192, allocations: 3.984 kB / 0.5705 GB, free: 8.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.6193, allocations: 111.2 kB / 0.5706 GB, free: 8.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6193, allocations: 0 / 0.5706 GB, free: 8.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.6197, allocations: 27.98 kB / 0.5707 GB, free: 8.164 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 () * 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 (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.001295/0.621, allocations: 456.3 kB / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.6214, allocations: 47.97 kB / 0.5711 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.6214, allocations: 4 kB / 0.5712 GB, free: 7.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.6216, allocations: 31.92 kB / 0.5712 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.6219, allocations: 15.42 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.6224, allocations: 196.8 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6228, allocations: 0.6965 MB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.6229, allocations: 11.44 kB / 0.5721 GB, free: 6.766 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6229, allocations: 0 / 0.5721 GB, free: 6.766 MB / 394.7 MB Notification: Performance of Templates: time 0.005763/0.6286, allocations: 1.569 MB / 0.5736 GB, free: 5.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches