Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.001539, allocations: 186.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.97/1.97, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001125/0.001125, allocations: 100.1 kB / 270.9 MB, free: 8.367 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.5028/0.5028, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006468, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1246, allocations: 58.86 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5773, allocations: 86.38 MB / 0.5631 GB, free: 364 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5776, allocations: 75.95 kB / 0.5632 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.5947, allocations: 4.044 MB / 0.5671 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5948, allocations: 0 / 0.5671 GB, free: 12.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.5948, allocations: 4 kB / 0.5671 GB, free: 12.27 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.0005927/0.5954, allocations: 418.5 kB / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5955, allocations: 12.02 kB / 0.5675 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.5956, allocations: 11.34 kB / 0.5675 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.5959, allocations: 213.7 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5959, allocations: 4 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5959, allocations: 7.906 kB / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.5961, allocations: 46.56 kB / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5962, allocations: 0 / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5962, allocations: 7.938 kB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5962, allocations: 1.031 kB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.5964, allocations: 23.98 kB / 0.5678 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.5969, allocations: 292.9 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.5972, allocations: 50.5 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5972, allocations: 4 kB / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5972, allocations: 30.56 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.5972, allocations: 0 / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008348/0.5981, allocations: 173.2 kB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.5981, allocations: 51.41 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5985, allocations: 217.8 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5986, allocations: 25.7 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.5986, allocations: 170.5 kB / 0.5688 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5987, allocations: 23.73 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5987, allocations: 4 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5988, allocations: 311.1 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.599, allocations: 19.98 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.5991, allocations: 23.98 kB / 0.5692 GB, free: 9.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5992, allocations: 27.98 kB / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5993, allocations: 3.938 kB / 0.5692 GB, free: 9.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003082/0.5996, allocations: 73.67 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5996, allocations: 8 kB / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.5996, allocations: 0 / 0.5693 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5996, allocations: 7.984 kB / 0.5693 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5998, allocations: 12 kB / 0.5693 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5998, allocations: 3.953 kB / 0.5693 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.5999, allocations: 11.98 kB / 0.5693 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5999, allocations: 4 kB / 0.5693 GB, free: 9.824 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.0001379/0.6001, allocations: 126.9 kB / 0.5694 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.6001, allocations: 11.81 kB / 0.5694 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.6006, allocations: 114.8 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6006, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6006, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.6006, allocations: 7.938 kB / 0.5696 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.6013, allocations: 386.5 kB / 0.5699 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6013, allocations: 0 / 0.5699 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6015, allocations: 15.98 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6015, allocations: 0 / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6015, allocations: 384 / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.6015, allocations: 3.953 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6015, allocations: 8.703 kB / 0.5699 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.6019, allocations: 191.3 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.602, allocations: 101 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.602, allocations: 3.984 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6022, allocations: 8 kB / 0.5702 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.6022, allocations: 7.953 kB / 0.5702 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.6022, allocations: 3.984 kB / 0.5702 GB, free: 8.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.6025, allocations: 183.2 kB / 0.5704 GB, free: 8.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.144e-06/0.6025, allocations: 3.938 kB / 0.5704 GB, free: 8.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.6029, allocations: 23.94 kB / 0.5705 GB, free: 8.543 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.001156/0.6041, allocations: 403.8 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.6044, allocations: 55.97 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6045, allocations: 0 / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.6046, allocations: 31.92 kB / 0.5709 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.6049, allocations: 24.11 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.6057, allocations: 297.7 kB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.606, allocations: 0.7121 MB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.6061, allocations: 19.44 kB / 0.5719 GB, free: 7.051 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6061, allocations: 0 / 0.5719 GB, free: 7.051 MB / 394.7 MB Notification: Performance of Templates: time 0.004828/0.6109, allocations: 1.658 MB / 0.5736 GB, free: 5.395 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches