Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.751/1.751, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008178/0.0008182, allocations: 86.41 kB / 271.9 MB, free: 8.281 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.4605/0.4605, allocations: 43.57 MB / 363.8 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 12 kB / 432.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 58.85 MB / 491.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.5247, allocations: 87.76 MB / 0.5656 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.525, allocations: 71.97 kB / 0.5657 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.5405, allocations: 5.713 MB / 0.5713 GB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5406, allocations: 0 / 0.5713 GB, free: 8.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.5406, allocations: 4 kB / 0.5713 GB, free: 8.957 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.0005599/0.5411, allocations: 433.8 kB / 0.5717 GB, free: 8.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5412, allocations: 11.12 kB / 0.5717 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.5412, allocations: 16.75 kB / 0.5717 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.5416, allocations: 241.8 kB / 0.572 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5416, allocations: 12.36 kB / 0.572 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5416, allocations: 4.375 kB / 0.572 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5418, allocations: 54.23 kB / 0.572 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5418, allocations: 4.094 kB / 0.572 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5418, allocations: 3.938 kB / 0.572 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5418, allocations: 0 / 0.572 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.5419, allocations: 23.92 kB / 0.5721 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.5424, allocations: 304.8 kB / 0.5723 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.5425, allocations: 69.17 kB / 0.5724 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.5426, allocations: 24.84 kB / 0.5724 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5426, allocations: 0 / 0.5724 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5428, allocations: 71.33 kB / 0.5725 GB, free: 7.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.5428, allocations: 4 kB / 0.5725 GB, free: 7.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.5434, allocations: 177.2 kB / 0.5727 GB, free: 7.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.5434, allocations: 55.34 kB / 0.5727 GB, free: 7.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.5437, allocations: 255.7 kB / 0.573 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5437, allocations: 29.7 kB / 0.573 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.5438, allocations: 116 kB / 0.5731 GB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.5439, allocations: 23.73 kB / 0.5731 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5439, allocations: 0 / 0.5731 GB, free: 6.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5441, allocations: 338.8 kB / 0.5735 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.5441, allocations: 19.98 kB / 0.5735 GB, free: 6.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.5442, allocations: 37.7 kB / 0.5735 GB, free: 6.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5443, allocations: 61.64 kB / 0.5736 GB, free: 6.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5443, allocations: 1.219 kB / 0.5736 GB, free: 6.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.5445, allocations: 102.3 kB / 0.5737 GB, free: 6.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5446, allocations: 8 kB / 0.5737 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5446, allocations: 0 / 0.5737 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5446, allocations: 0 / 0.5737 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.5447, allocations: 23.92 kB / 0.5737 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5447, allocations: 0 / 0.5737 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.5447, allocations: 4 kB / 0.5737 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5448, allocations: 4 kB / 0.5737 GB, free: 6.25 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.0001323/0.5449, allocations: 138.6 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.5449, allocations: 23.8 kB / 0.5739 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.5452, allocations: 135.3 kB / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5452, allocations: 0 / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5452, allocations: 0.6875 kB / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5452, allocations: 0 / 0.574 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.5458, allocations: 439.1 kB / 0.5744 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5458, allocations: 4 kB / 0.5744 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.5459, allocations: 12.41 kB / 0.5744 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5459, allocations: 3.938 kB / 0.5744 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5459, allocations: 0 / 0.5744 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5459, allocations: 11.98 kB / 0.5744 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5459, allocations: 7.875 kB / 0.5745 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5462, allocations: 208.2 kB / 0.5747 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.5462, allocations: 97 kB / 0.5747 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.5463, allocations: 8 kB / 0.5748 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.5464, allocations: 7.938 kB / 0.5748 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.5464, allocations: 11.92 kB / 0.5748 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.5464, allocations: 4 kB / 0.5748 GB, free: 5.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.5466, allocations: 199.3 kB / 0.575 GB, free: 4.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5466, allocations: 0 / 0.575 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.5469, allocations: 43.84 kB / 0.575 GB, free: 4.812 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.001028/0.5479, allocations: 476.3 kB / 0.5755 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.5481, allocations: 63.91 kB / 0.5755 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5481, allocations: 0 / 0.5755 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.5482, allocations: 40.03 kB / 0.5756 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5486, allocations: 29.41 kB / 0.5756 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.5491, allocations: 346.9 kB / 0.5759 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.5495, allocations: 0.7199 MB / 0.5766 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.5495, allocations: 15.44 kB / 0.5766 GB, free: 3.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5495, allocations: 0 / 0.5766 GB, free: 3.188 MB / 394.7 MB Notification: Performance of Templates: time 0.003898/0.5534, allocations: 2.142 MB / 0.5787 GB, free: 1.051 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches