Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001533/0.001533, allocations: 179 kB / 18.04 MB, free: 3.66 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.345/1.345, allocations: 205.4 MB / 224.2 MB, free: 8.922 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.0007676/0.0007679, allocations: 92.48 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 12 kB / 329.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 47.58 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09242/0.3135, allocations: 81.94 MB / 459 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3137, allocations: 71.97 kB / 459 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05413/0.3679, allocations: 26.83 MB / 485.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3679, allocations: 4 kB / 485.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3679, allocations: 4 kB / 485.9 MB, free: 3.734 MB / 362.7 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.0006852/0.3686, allocations: 0.6684 MB / 486.5 MB, free: 2.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3687, allocations: 8.031 kB / 486.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.3688, allocations: 40.56 kB / 486.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3691, allocations: 278.3 kB / 486.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3691, allocations: 4.375 kB / 486.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.3692, allocations: 12.38 kB / 486.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.3695, allocations: 150 kB / 487 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3695, allocations: 192 / 487 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3695, allocations: 7.938 kB / 487 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3695, allocations: 3.938 kB / 487 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3697, allocations: 71.89 kB / 487.1 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.3704, allocations: 472.5 kB / 487.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.3706, allocations: 106.5 kB / 487.7 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3708, allocations: 92.81 kB / 487.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.3708, allocations: 0 / 487.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3711, allocations: 230.6 kB / 488 MB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3711, allocations: 0 / 488 MB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008469/0.372, allocations: 0.5234 MB / 488.5 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.3721, allocations: 170.2 kB / 488.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.3727, allocations: 0.5168 MB / 489.2 MB, free: 136 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3727, allocations: 29.7 kB / 489.2 MB, free: 100 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.3728, allocations: 97.22 kB / 489.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3728, allocations: 31.7 kB / 489.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.3729, allocations: 4 kB / 489.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.373, allocations: 322.8 kB / 489.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3731, allocations: 59.97 kB / 489.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3733, allocations: 81.67 kB / 489.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.3736, allocations: 363.6 kB / 490.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3737, allocations: 0 / 490.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005929/0.3743, allocations: 448 kB / 490.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/0.3744, allocations: 122.8 kB / 490.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3744, allocations: 0 / 490.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3744, allocations: 4.109 kB / 490.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.945e-05/0.3744, allocations: 8 kB / 490.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3744, allocations: 0 / 490.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3746, allocations: 16 kB / 490.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.3747, allocations: 119.8 kB / 490.9 MB, free: 14.32 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: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.000354/0.3751, allocations: 367.2 kB / 491.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3751, allocations: 39.53 kB / 491.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.3752, allocations: 67.14 kB / 491.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3752, allocations: 7.969 kB / 491.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3752, allocations: 0 / 491.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3753, allocations: 0 / 491.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.3762, allocations: 0.8718 MB / 492.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3763, allocations: 0 / 492.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-06/0.3763, allocations: 0 / 492.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3763, allocations: 4 kB / 492.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.3763, allocations: 23.98 kB / 492.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3763, allocations: 3.938 kB / 492.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3763, allocations: 0 / 492.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.377, allocations: 0.5837 MB / 492.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3773, allocations: 256.3 kB / 493.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.3774, allocations: 15.98 kB / 493.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3776, allocations: 12 kB / 493.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3777, allocations: 31.95 kB / 493.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.3778, allocations: 123.8 kB / 493.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004938/0.3783, allocations: 386.9 kB / 493.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3783, allocations: 0 / 493.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000285/0.3786, allocations: 40 kB / 493.7 MB, free: 11.35 MB / 378.7 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) * Number of clocked states: 0 () * 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.0001293/0.3788, allocations: 123.1 kB / 493.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.3793, allocations: 453.5 kB / 494.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3793, allocations: 0 / 494.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.3796, allocations: 385.5 kB / 494.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.3802, allocations: 97.41 kB / 494.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3813, allocations: 0.7389 MB / 495.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.3817, allocations: 0.8031 MB / 496.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.3818, allocations: 8.656 kB / 496.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.3818, allocations: 15.44 kB / 496.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3818, allocations: 0 / 496.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of Templates: time 0.008652/0.3905, allocations: 5.654 MB / 0.4902 GB, free: 2.848 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches