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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 105.5 kB / 17.73 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 51.91 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1661, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004202/0.1704, allocations: 1.513 MB / 376.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.1738, allocations: 0.8902 MB / 377.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.174, allocations: 8 kB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1742, allocations: 11.86 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1744, allocations: 19.86 kB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.1749, allocations: 47.89 kB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.1754, allocations: 147.7 kB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1756, allocations: 31.97 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006619/0.1763, allocations: 379.3 kB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1765, allocations: 63.7 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.1766, allocations: 12 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.1766, allocations: 8 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1768, allocations: 71.69 kB / 378.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.177, allocations: 115.2 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.1775, allocations: 350.7 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1775, allocations: 4 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1775, allocations: 4 kB / 378.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1776, allocations: 3.938 kB / 378.8 MB, free: 0.8984 MB / 318.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.001086/0.1787, allocations: 0.7188 MB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1787, allocations: 8.031 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.1788, allocations: 36.56 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3061/0.485, allocations: 276.1 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.485, allocations: 4.5 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.4851, allocations: 9.094 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4855, allocations: 122.1 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4855, allocations: 0.9062 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4856, allocations: 7.781 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4856, allocations: 3.719 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4857, allocations: 60.31 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.4865, allocations: 451 kB / 380.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4867, allocations: 100.9 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4869, allocations: 82.53 kB / 380.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4869, allocations: 3.938 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.4873, allocations: 202.9 kB / 380.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/0.4873, allocations: 0.9062 kB / 380.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008898/0.4882, allocations: 467 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.4883, allocations: 166.9 kB / 381.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.4891, allocations: 0.517 MB / 382 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.4892, allocations: 29.83 kB / 382 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.4892, allocations: 100 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.4893, allocations: 33.44 kB / 382.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.4895, allocations: 81.97 kB / 382.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.4895, allocations: 327.7 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4897, allocations: 57.28 kB / 382.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4898, allocations: 69.59 kB / 382.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.4902, allocations: 344.6 kB / 383 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4902, allocations: 0 / 383 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006421/0.4909, allocations: 383.9 kB / 383.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.491, allocations: 123.2 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.491, allocations: 1.125 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.491, allocations: 0 / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.961e-05/0.4911, allocations: 5.359 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4911, allocations: 1.219 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.4912, allocations: 14.36 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.4913, allocations: 38.33 kB / 383.6 MB, free: 10.88 MB / 318.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: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.4917, allocations: 366.7 kB / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.4917, allocations: 42.97 kB / 384 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.4918, allocations: 64.7 kB / 384 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4918, allocations: 1.953 kB / 384 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4919, allocations: 8.328 kB / 384 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4919, allocations: 1.781 kB / 384 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.4929, allocations: 0.8125 MB / 384.8 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4929, allocations: 3.625 kB / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.4929, allocations: 2.328 kB / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4929, allocations: 0 / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4929, allocations: 10.69 kB / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4929, allocations: 0.9375 kB / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4929, allocations: 0.5625 kB / 384.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.4936, allocations: 0.5292 MB / 385.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.4939, allocations: 240.9 kB / 385.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.494, allocations: 11.62 kB / 385.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4941, allocations: 10.44 kB / 385.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4943, allocations: 24.52 kB / 385.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.4943, allocations: 50.03 kB / 385.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.4949, allocations: 388.8 kB / 386.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4949, allocations: 7.938 kB / 386.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.4952, allocations: 41.22 kB / 386.2 MB, free: 9.172 MB / 318.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.4953, allocations: 113.5 kB / 386.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.4959, allocations: 438.9 kB / 386.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4959, allocations: 0 / 386.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.4962, allocations: 380.4 kB / 387.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.4969, allocations: 128 kB / 387.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.4982, allocations: 0.6571 MB / 387.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4985, allocations: 0.7963 MB / 388.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.4986, allocations: 9.375 kB / 388.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.4986, allocations: 11.72 kB / 388.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4986, allocations: 0 / 388.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of Templates: time 0.01258/0.5112, allocations: 4.379 MB / 393 MB, free: 6.836 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches