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.001824/0.001824, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.518/1.518, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007776/0.0007776, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.809e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09444, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.4038, allocations: 81.81 MB / 451.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.404, allocations: 67.2 kB / 451.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05574/0.4597, allocations: 27.04 MB / 478.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4598, allocations: 0 / 478.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.4598, allocations: 4 kB / 478.9 MB, free: 2.02 MB / 346.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.0008563/0.4607, allocations: 0.6137 MB / 479.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4607, allocations: 8.031 kB / 479.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4609, allocations: 35.62 kB / 479.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.4613, allocations: 249.5 kB / 479.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.4614, allocations: 16 kB / 479.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.4615, allocations: 4 kB / 479.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.4618, allocations: 153.5 kB / 480 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4619, allocations: 0 / 480 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4619, allocations: 4 kB / 480 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4619, allocations: 0 / 480 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.4621, allocations: 63.97 kB / 480.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.4629, allocations: 480.5 kB / 480.5 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4631, allocations: 106.5 kB / 480.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.4633, allocations: 88.89 kB / 480.7 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.4633, allocations: 3.938 kB / 480.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.4636, allocations: 222.7 kB / 481 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4636, allocations: 0 / 481 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000675/0.4643, allocations: 439.9 kB / 481.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.4644, allocations: 166.2 kB / 481.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/0.465, allocations: 466.6 kB / 482 MB, free: 14.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.465, allocations: 33.64 kB / 482 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.4651, allocations: 97.12 kB / 482.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.4651, allocations: 23.72 kB / 482.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.4652, allocations: 8 kB / 482.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4653, allocations: 326.8 kB / 482.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.4654, allocations: 63.91 kB / 482.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4655, allocations: 69.52 kB / 482.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4657, allocations: 174.6 kB / 482.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4657, allocations: 4 kB / 482.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005357/0.4663, allocations: 404.9 kB / 483.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.4663, allocations: 130.8 kB / 483.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4664, allocations: 0 / 483.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4664, allocations: 0 / 483.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.4664, allocations: 4.062 kB / 483.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4664, allocations: 8 kB / 483.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.4666, allocations: 11.98 kB / 483.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.4667, allocations: 119.8 kB / 483.4 MB, free: 13.13 MB / 362.7 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.0001831/0.4669, allocations: 249.4 kB / 483.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.467, allocations: 43.48 kB / 483.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4671, allocations: 67.42 kB / 483.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4671, allocations: 3.984 kB / 483.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4671, allocations: 4 kB / 483.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4671, allocations: 3.984 kB / 483.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.468, allocations: 0.8292 MB / 484.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.468, allocations: 0 / 484.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-06/0.4681, allocations: 4 kB / 484.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4681, allocations: 0 / 484.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.4681, allocations: 23.98 kB / 484.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4681, allocations: 0 / 484.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4681, allocations: 3.938 kB / 484.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.4688, allocations: 0.5525 MB / 485.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.4692, allocations: 256.4 kB / 485.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/0.4693, allocations: 15.98 kB / 485.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.4696, allocations: 8 kB / 485.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.4697, allocations: 31.95 kB / 485.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.4699, allocations: 123.8 kB / 485.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006798/0.4706, allocations: 384.9 kB / 486 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4706, allocations: 4 kB / 486 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004629/0.4711, allocations: 44 kB / 486.1 MB, free: 10.33 MB / 362.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) * 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.0002186/0.4713, allocations: 111.2 kB / 486.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.472, allocations: 457.5 kB / 486.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4721, allocations: 0 / 486.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.4725, allocations: 377.6 kB / 487 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.4733, allocations: 97.53 kB / 487.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.4746, allocations: 0.5472 MB / 487.6 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.4752, allocations: 0.8103 MB / 488.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.4753, allocations: 8.656 kB / 488.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.4754, allocations: 11.44 kB / 488.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4754, allocations: 3.938 kB / 488.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.01205/0.4874, allocations: 5.624 MB / 494.1 MB, free: 2.059 MB / 362.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/jenkins/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