Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001606, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.063/2.063, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001087, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2737/0.2737, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.429e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.5977, allocations: 87.57 MB / 0.5583 GB, free: 68 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.598, allocations: 76.08 kB / 0.5584 GB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0242/0.6222, allocations: 5.386 MB / 0.5636 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6223, allocations: 0 / 0.5636 GB, free: 11.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.6223, allocations: 3.609 kB / 0.5637 GB, free: 11.48 MB / 378.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.0005654/0.6229, allocations: 401.9 kB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.623, allocations: 8.031 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.623, allocations: 15.8 kB / 0.5641 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.6234, allocations: 215.4 kB / 0.5643 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.6235, allocations: 7.969 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.6235, allocations: 7.812 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6237, allocations: 53.25 kB / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6237, allocations: 0 / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6237, allocations: 0 / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6237, allocations: 0 / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.6238, allocations: 19.73 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.6243, allocations: 307.7 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.6245, allocations: 58.06 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.6246, allocations: 16.73 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6246, allocations: 4 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6248, allocations: 67.2 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.6248, allocations: 4 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.6255, allocations: 163.8 kB / 0.5649 GB, free: 10.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6255, allocations: 55.41 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.6258, allocations: 191.9 kB / 0.5652 GB, free: 9.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6259, allocations: 25.7 kB / 0.5652 GB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.6259, allocations: 162.2 kB / 0.5654 GB, free: 9.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.626, allocations: 23.64 kB / 0.5654 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.626, allocations: 0 / 0.5654 GB, free: 9.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6261, allocations: 322.7 kB / 0.5657 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.6262, allocations: 19.44 kB / 0.5657 GB, free: 9.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.6263, allocations: 36.64 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.6264, allocations: 19.31 kB / 0.5658 GB, free: 9.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6264, allocations: 0 / 0.5658 GB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002291/0.6266, allocations: 95.94 kB / 0.5659 GB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6267, allocations: 7.625 kB / 0.5659 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6267, allocations: 4.125 kB / 0.5659 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6267, allocations: 11.97 kB / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.6269, allocations: 23.8 kB / 0.5659 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6269, allocations: 4.109 kB / 0.5659 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.627, allocations: 7.938 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6271, allocations: 4 kB / 0.5659 GB, free: 9.129 MB / 378.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 () * 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 8.336e-05/0.6271, allocations: 104.7 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.6272, allocations: 11.91 kB / 0.566 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.6275, allocations: 120.6 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6276, allocations: 4 kB / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6276, allocations: 0 / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6276, allocations: 3.953 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.6283, allocations: 419.5 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6283, allocations: 4 kB / 0.5665 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.6284, allocations: 11.94 kB / 0.5666 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6284, allocations: 0 / 0.5666 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6284, allocations: 4 kB / 0.5666 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.6284, allocations: 11.97 kB / 0.5666 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6284, allocations: 0 / 0.5666 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.6288, allocations: 214 kB / 0.5668 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.6289, allocations: 96.86 kB / 0.5669 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.6289, allocations: 6.641 kB / 0.5669 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.629, allocations: 7.984 kB / 0.5669 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6291, allocations: 11.31 kB / 0.5669 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.6291, allocations: 7.984 kB / 0.5669 GB, free: 8.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.6294, allocations: 161 kB / 0.5671 GB, free: 7.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6294, allocations: 0 / 0.5671 GB, free: 7.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.6297, allocations: 27.12 kB / 0.5671 GB, free: 7.93 MB / 378.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) * 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.00124/0.631, allocations: 435.9 kB / 0.5675 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.6312, allocations: 56.23 kB / 0.5676 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6313, allocations: 0 / 0.5676 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.6314, allocations: 31.5 kB / 0.5676 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.6318, allocations: 25.61 kB / 0.5676 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.6324, allocations: 217.1 kB / 0.5678 GB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6327, allocations: 0.7117 MB / 0.5685 GB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.6328, allocations: 15.44 kB / 0.5685 GB, free: 6.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6328, allocations: 4 kB / 0.5685 GB, free: 6.508 MB / 378.7 MB Notification: Performance of Templates: time 0.005655/0.6385, allocations: 1.999 MB / 0.5705 GB, free: 4.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches