Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,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.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001563, allocations: 186.3 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.113 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.001117/0.001117, allocations: 96.36 kB / 270.9 MB, free: 8.359 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.5138/0.5138, allocations: 43.56 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 8 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.5986, allocations: 86.5 MB / 0.5632 GB, free: 224 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5988, allocations: 75.95 kB / 0.5633 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.6154, allocations: 3.989 MB / 0.5672 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6154, allocations: 4 kB / 0.5672 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.6154, allocations: 4 kB / 0.5672 GB, free: 12.19 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.000537/0.616, allocations: 407.5 kB / 0.5676 GB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.616, allocations: 15.95 kB / 0.5676 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.6161, allocations: 7.906 kB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.6164, allocations: 210.9 kB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.6164, allocations: 4 kB / 0.5678 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.6165, allocations: 3.938 kB / 0.5678 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.6167, allocations: 54.55 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6167, allocations: 4 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6167, allocations: 0 / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6167, allocations: 0 / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.6169, allocations: 25.02 kB / 0.5679 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.6174, allocations: 300.9 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.6177, allocations: 54.48 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.6177, allocations: 0 / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.6178, allocations: 30.56 kB / 0.5682 GB, free: 10.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6178, allocations: 0 / 0.5682 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008479/0.6186, allocations: 181.2 kB / 0.5684 GB, free: 10.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.6187, allocations: 59.41 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.619, allocations: 206.2 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6191, allocations: 25.7 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.6192, allocations: 170.5 kB / 0.5689 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.6192, allocations: 11.8 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.6192, allocations: 0 / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6194, allocations: 327 kB / 0.5692 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.6195, allocations: 27.98 kB / 0.5692 GB, free: 9.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.6196, allocations: 23.98 kB / 0.5692 GB, free: 9.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6198, allocations: 23.98 kB / 0.5692 GB, free: 9.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6198, allocations: 0 / 0.5692 GB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003182/0.6201, allocations: 93.59 kB / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6202, allocations: 8 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6202, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6202, allocations: 0 / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6203, allocations: 15.98 kB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.6203, allocations: 0 / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.6204, allocations: 4 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.6204, allocations: 11.95 kB / 0.5694 GB, free: 9.727 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.0001272/0.6206, allocations: 125.8 kB / 0.5695 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.6206, allocations: 11.91 kB / 0.5695 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.6211, allocations: 118.4 kB / 0.5696 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6211, allocations: 4 kB / 0.5696 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6211, allocations: 0 / 0.5696 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6211, allocations: 0 / 0.5696 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/0.622, allocations: 382.5 kB / 0.57 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.622, allocations: 3.938 kB / 0.57 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.6222, allocations: 23.92 kB / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6222, allocations: 0 / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6222, allocations: 4.375 kB / 0.57 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6222, allocations: 0 / 0.57 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.6222, allocations: 8 kB / 0.57 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.6227, allocations: 195.4 kB / 0.5702 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.6228, allocations: 100.9 kB / 0.5703 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.6228, allocations: 4 kB / 0.5703 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.6229, allocations: 4 kB / 0.5703 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.623, allocations: 3.984 kB / 0.5703 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.623, allocations: 4 kB / 0.5703 GB, free: 8.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.6233, allocations: 163.7 kB / 0.5705 GB, free: 8.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6233, allocations: 0 / 0.5705 GB, free: 8.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.6236, allocations: 35.92 kB / 0.5705 GB, free: 8.453 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.001173/0.6248, allocations: 404.7 kB / 0.5709 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.6252, allocations: 59.95 kB / 0.571 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.6252, allocations: 4 kB / 0.571 GB, free: 8.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6254, allocations: 31.98 kB / 0.571 GB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.6257, allocations: 18.17 kB / 0.571 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.6264, allocations: 300.2 kB / 0.5713 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.6268, allocations: 0.7121 MB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.6269, allocations: 11.44 kB / 0.572 GB, free: 6.969 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6269, allocations: 0 / 0.572 GB, free: 6.969 MB / 394.7 MB Notification: Performance of Templates: time 0.004929/0.6318, allocations: 1.626 MB / 0.5736 GB, free: 5.344 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches