Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00222/0.00222, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 86.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.59e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5582, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5586, allocations: 71.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02704/0.5857, allocations: 5.826 MB / 0.5566 GB, free: 6.449 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5857, allocations: 0 / 0.5566 GB, free: 6.449 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.5858, allocations: 4 kB / 0.5566 GB, free: 6.445 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000697/0.5865, allocations: 426 kB / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5865, allocations: 8.031 kB / 0.557 GB, free: 5.977 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.5866, allocations: 7.906 kB / 0.557 GB, free: 5.969 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.5871, allocations: 230.5 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5871, allocations: 4 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.5872, allocations: 0 / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000145/0.5873, allocations: 31.92 kB / 0.5573 GB, free: 5.668 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5875, allocations: 65.66 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5875, allocations: 0 / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.5875, allocations: 3.984 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5875, allocations: 7.938 kB / 0.5573 GB, free: 5.586 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.5881, allocations: 289.3 kB / 0.5576 GB, free: 5.266 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.5884, allocations: 66.67 kB / 0.5577 GB, free: 5.191 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.5885, allocations: 32.92 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5885, allocations: 0 / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.5887, allocations: 67.39 kB / 0.5578 GB, free: 5.078 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.5887, allocations: 0 / 0.5578 GB, free: 5.078 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007214/0.5894, allocations: 177.2 kB / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5895, allocations: 51.41 kB / 0.558 GB, free: 4.836 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.5899, allocations: 225.8 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5899, allocations: 29.7 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.59, allocations: 170.5 kB / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.5901, allocations: 31.61 kB / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5901, allocations: 0 / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5903, allocations: 314.8 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.5904, allocations: 24 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.5905, allocations: 33.72 kB / 0.5588 GB, free: 3.992 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.5906, allocations: 31.92 kB / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5906, allocations: 0 / 0.5588 GB, free: 3.961 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.5909, allocations: 101.6 kB / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5909, allocations: 8 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.591, allocations: 0 / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.591, allocations: 7.938 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5912, allocations: 19.98 kB / 0.559 GB, free: 3.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5912, allocations: 0 / 0.559 GB, free: 3.82 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.5913, allocations: 7.953 kB / 0.559 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5913, allocations: 4.219 kB / 0.559 GB, free: 3.809 MB / 395.1 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 (11): * Single equations (assignments): 11 * 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.0001117/0.5915, allocations: 105 kB / 0.5591 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.5915, allocations: 23.73 kB / 0.5591 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.5919, allocations: 135.6 kB / 0.5592 GB, free: 3.539 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.592, allocations: 4 kB / 0.5592 GB, free: 3.535 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.592, allocations: 0 / 0.5592 GB, free: 3.535 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.592, allocations: 0 / 0.5592 GB, free: 3.535 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.5928, allocations: 431.7 kB / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5928, allocations: 0 / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5929, allocations: 16 kB / 0.5596 GB, free: 3.051 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.593, allocations: 3.938 kB / 0.5597 GB, free: 3.047 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.593, allocations: 4 kB / 0.5597 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.593, allocations: 3.938 kB / 0.5597 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/0.593, allocations: 3.984 kB / 0.5597 GB, free: 3.035 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.5934, allocations: 226 kB / 0.5599 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5935, allocations: 104.9 kB / 0.56 GB, free: 2.668 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.5936, allocations: 4 kB / 0.56 GB, free: 2.664 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.5937, allocations: 4 kB / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5938, allocations: 11.94 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.5938, allocations: 4 kB / 0.56 GB, free: 2.645 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.5941, allocations: 179.2 kB / 0.5602 GB, free: 2.469 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5941, allocations: 0 / 0.5602 GB, free: 2.469 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004524/0.5946, allocations: 32 kB / 0.5602 GB, free: 2.438 MB / 395.1 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 (11): * Single equations (assignments): 9 * 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.001203/0.5958, allocations: 405.8 kB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.5961, allocations: 67.88 kB / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5961, allocations: 0 / 0.5607 GB, free: 2.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.5962, allocations: 39.92 kB / 0.5607 GB, free: 1.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.5967, allocations: 32.03 kB / 0.5607 GB, free: 1.945 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.5974, allocations: 259.7 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.5978, allocations: 0.7197 MB / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.5979, allocations: 23.42 kB / 0.5617 GB, free: 0.8906 MB / 395.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5979, allocations: 0 / 0.5617 GB, free: 0.8906 MB / 395.1 MB Notification: Performance of Templates: time 0.00878/0.6067, allocations: 2.206 MB / 0.5638 GB, free: 14.69 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches