Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.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) 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(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002347/0.002347, 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.034/2.034, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001126/0.001127, allocations: 89.53 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.202e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3422, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.4729, allocations: 81.15 MB / 443.5 MB, free: 5.176 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.4733, allocations: 78.48 kB / 443.6 MB, free: 5.102 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.5735, allocations: 26.83 MB / 470.4 MB, free: 10.4 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5735, allocations: 0 / 470.4 MB, free: 10.4 MB / 363.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5736, allocations: 8 kB / 470.4 MB, free: 10.39 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008297/0.5744, allocations: 0.6174 MB / 471 MB, free: 9.707 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.5745, allocations: 8.031 kB / 471 MB, free: 9.699 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5746, allocations: 36.75 kB / 471.1 MB, free: 9.664 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.5751, allocations: 251.7 kB / 471.3 MB, free: 9.375 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.5752, allocations: 7.984 kB / 471.3 MB, free: 9.367 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.5753, allocations: 12 kB / 471.3 MB, free: 9.355 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002127/0.5755, allocations: 55.98 kB / 471.4 MB, free: 9.301 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.5759, allocations: 145.5 kB / 471.5 MB, free: 9.152 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5759, allocations: 4 kB / 471.5 MB, free: 9.148 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.5759, allocations: 4 kB / 471.5 MB, free: 9.145 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.576, allocations: 0 / 471.5 MB, free: 9.145 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5771, allocations: 457 kB / 472 MB, free: 8.66 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5774, allocations: 102.4 kB / 472.1 MB, free: 8.551 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.5776, allocations: 84.91 kB / 472.2 MB, free: 8.465 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5776, allocations: 1.969 kB / 472.2 MB, free: 8.465 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.5781, allocations: 218.7 kB / 472.4 MB, free: 8.227 MB / 363.1 MB Notification: Performance of pre-optimization done (n=13): time 3.727e-06/0.5781, allocations: 0 / 472.4 MB, free: 8.227 MB / 363.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009708/0.5791, allocations: 301.2 kB / 472.7 MB, free: 7.926 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.5792, allocations: 166.2 kB / 472.8 MB, free: 7.727 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.5802, allocations: 452.8 kB / 473.3 MB, free: 7.281 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.5803, allocations: 33.81 kB / 473.3 MB, free: 7.242 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5804, allocations: 171.7 kB / 473.5 MB, free: 7.074 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.5805, allocations: 23.72 kB / 473.5 MB, free: 7.051 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.5805, allocations: 4 kB / 473.5 MB, free: 7.047 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5807, allocations: 318.8 kB / 473.8 MB, free: 6.727 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.5809, allocations: 55.98 kB / 473.9 MB, free: 6.672 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.5811, allocations: 59.98 kB / 473.9 MB, free: 6.613 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.5812, allocations: 51.95 kB / 474 MB, free: 6.562 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5813, allocations: 4 kB / 474 MB, free: 6.559 MB / 363.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007969/0.5821, allocations: 281.2 kB / 474.3 MB, free: 6.277 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5822, allocations: 126.8 kB / 474.4 MB, free: 6.129 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5822, allocations: 0 / 474.4 MB, free: 6.129 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.5823, allocations: 3.984 kB / 474.4 MB, free: 6.125 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.774e-05/0.5823, allocations: 4 kB / 474.4 MB, free: 6.121 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5823, allocations: 0 / 474.4 MB, free: 6.121 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5826, allocations: 13.02 kB / 474.4 MB, free: 6.109 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.5828, allocations: 119.8 kB / 474.5 MB, free: 5.992 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003317/0.5832, allocations: 253.4 kB / 474.8 MB, free: 5.711 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.5833, allocations: 43.48 kB / 474.8 MB, free: 5.668 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.5835, allocations: 67.42 kB / 474.9 MB, free: 5.598 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5835, allocations: 0 / 474.9 MB, free: 5.598 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5835, allocations: 0 / 474.9 MB, free: 5.598 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5836, allocations: 0 / 474.9 MB, free: 5.598 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.585, allocations: 0.6746 MB / 475.5 MB, free: 4.879 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.585, allocations: 4.125 kB / 475.5 MB, free: 4.875 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.5851, allocations: 4 kB / 475.6 MB, free: 4.871 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5851, allocations: 8.891 kB / 475.6 MB, free: 4.863 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.5852, allocations: 23.98 kB / 475.6 MB, free: 4.84 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5852, allocations: 0 / 475.6 MB, free: 4.84 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5852, allocations: 0 / 475.6 MB, free: 4.84 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009647/0.5862, allocations: 419 kB / 476 MB, free: 4.414 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.5868, allocations: 252.4 kB / 476.2 MB, free: 4.148 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.587, allocations: 15.95 kB / 476.3 MB, free: 4.133 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.5873, allocations: 15.98 kB / 476.3 MB, free: 4.117 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5875, allocations: 35.89 kB / 476.3 MB, free: 4.082 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.5877, allocations: 123.8 kB / 476.4 MB, free: 3.961 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0007559/0.5885, allocations: 368.5 kB / 476.8 MB, free: 3.605 MB / 363.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5885, allocations: 0 / 476.8 MB, free: 3.605 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004848/0.589, allocations: 44 kB / 476.8 MB, free: 3.562 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0002156/0.5892, allocations: 115 kB / 476.9 MB, free: 3.441 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.59, allocations: 429.6 kB / 477.4 MB, free: 2.973 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.59, allocations: 4 kB / 477.4 MB, free: 2.969 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.5905, allocations: 377.5 kB / 477.7 MB, free: 2.551 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009085/0.5914, allocations: 98.8 kB / 477.8 MB, free: 2.453 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.593, allocations: 0.5711 MB / 478.4 MB, free: 1.852 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.5937, allocations: 0.8101 MB / 479.2 MB, free: 1.016 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.5938, allocations: 15.44 kB / 479.2 MB, free: 1 MB / 363.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5938, allocations: 3.938 kB / 479.2 MB, free: 0.9961 MB / 363.1 MB Notification: Performance of Templates: time 0.009766/0.6036, allocations: 3.775 MB / 483 MB, free: 13.2 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches