Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002151, allocations: 185.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001193/0.001193, allocations: 93.89 kB / 270.9 MB, free: 8.371 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.5596/0.5596, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004721, allocations: 23.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5943, allocations: 87.71 MB / 0.5644 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.5947, allocations: 75.97 kB / 0.5645 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02605/0.6207, allocations: 5.455 MB / 0.5698 GB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.961e-06/0.6208, allocations: 4 kB / 0.5698 GB, free: 9.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.6208, allocations: 4.484 kB / 0.5698 GB, free: 9.527 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008232/0.6217, allocations: 430.3 kB / 0.5702 GB, free: 9.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6217, allocations: 12.02 kB / 0.5702 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.6218, allocations: 23.25 kB / 0.5702 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.6222, allocations: 207.6 kB / 0.5704 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.6223, allocations: 4 kB / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.6223, allocations: 11.98 kB / 0.5705 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.6225, allocations: 54.55 kB / 0.5705 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6226, allocations: 0 / 0.5705 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6226, allocations: 3.938 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6226, allocations: 1.031 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6227, allocations: 19.98 kB / 0.5705 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.6233, allocations: 296.9 kB / 0.5708 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.6236, allocations: 70.55 kB / 0.5709 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.6236, allocations: 4.125 kB / 0.5709 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.6238, allocations: 67.38 kB / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.524e-06/0.6238, allocations: 0 / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008842/0.6247, allocations: 181 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6248, allocations: 59.36 kB / 0.5712 GB, free: 7.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.6251, allocations: 184.8 kB / 0.5714 GB, free: 7.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.6252, allocations: 29.7 kB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.6253, allocations: 162.6 kB / 0.5715 GB, free: 7.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.6253, allocations: 23.66 kB / 0.5716 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.6254, allocations: 4 kB / 0.5716 GB, free: 7.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6255, allocations: 314.8 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6256, allocations: 20 kB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6258, allocations: 37.7 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.6259, allocations: 31.91 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6259, allocations: 4 kB / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003101/0.6262, allocations: 85.69 kB / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.6263, allocations: 11.98 kB / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6263, allocations: 0 / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6263, allocations: 0 / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.6265, allocations: 19.97 kB / 0.5721 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6265, allocations: 4 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.6266, allocations: 7.938 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6266, allocations: 4.188 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000148/0.6268, allocations: 121.8 kB / 0.5722 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.6268, allocations: 19.75 kB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.6273, allocations: 123 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6273, allocations: 0 / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.6273, allocations: 4 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6273, allocations: 0 / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.6281, allocations: 415.3 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6281, allocations: 0 / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.6282, allocations: 11.98 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6282, allocations: 4 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.6282, allocations: 4 kB / 0.5728 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.6282, allocations: 3.953 kB / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6283, allocations: 7.969 kB / 0.5728 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.6287, allocations: 217.9 kB / 0.573 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.6288, allocations: 97 kB / 0.5731 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.6289, allocations: 8.328 kB / 0.5731 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.629, allocations: 0 / 0.5731 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.6291, allocations: 15.92 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.6291, allocations: 12 kB / 0.5731 GB, free: 5.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.6293, allocations: 152.9 kB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6293, allocations: 0 / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.6297, allocations: 35.92 kB / 0.5733 GB, free: 5.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001408/0.6312, allocations: 479.4 kB / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.6315, allocations: 63.91 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6316, allocations: 0 / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6317, allocations: 35.92 kB / 0.5738 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.6321, allocations: 19.98 kB / 0.5738 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.6329, allocations: 282.2 kB / 0.5741 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6333, allocations: 0.716 MB / 0.5748 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.6334, allocations: 19.42 kB / 0.5748 GB, free: 4.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6334, allocations: 0 / 0.5748 GB, free: 4.074 MB / 394.7 MB Notification: Performance of Templates: time 0.005916/0.6393, allocations: 1.967 MB / 0.5768 GB, free: 2.117 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches