Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 121.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00472/0.3423, allocations: 1.529 MB / 410.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.3457, allocations: 0.8848 MB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3459, allocations: 0 / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.3461, allocations: 7.922 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3463, allocations: 23.8 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.3467, allocations: 51.88 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.3472, allocations: 147.8 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3473, allocations: 16 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000838/0.3482, allocations: 395.2 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3484, allocations: 67.77 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.3485, allocations: 8 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.3485, allocations: 12 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3487, allocations: 67.7 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.3489, allocations: 111.2 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.3494, allocations: 350.8 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3495, allocations: 0 / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.3495, allocations: 0 / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.3495, allocations: 0 / 412.9 MB, free: 13.91 MB / 334.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.001459/0.351, allocations: 0.7237 MB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.351, allocations: 12.02 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3512, allocations: 36.56 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.3516, allocations: 270.3 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3516, allocations: 8.375 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.3517, allocations: 16.36 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3521, allocations: 125.9 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3521, allocations: 3.984 kB / 414.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3522, allocations: 4 kB / 414.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3522, allocations: 3.938 kB / 414.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.3524, allocations: 59.95 kB / 414.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3535, allocations: 464.4 kB / 414.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.3538, allocations: 94.55 kB / 414.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.3541, allocations: 80.89 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3541, allocations: 0 / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005603/0.3546, allocations: 202.2 kB / 415 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.3547, allocations: 0 / 415 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001259/0.3559, allocations: 472 kB / 415.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3561, allocations: 170.2 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3572, allocations: 0.513 MB / 416.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3573, allocations: 29.7 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.3574, allocations: 105 kB / 416.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.3575, allocations: 27.7 kB / 416.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3577, allocations: 81.34 kB / 416.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.358, allocations: 326.8 kB / 416.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.3582, allocations: 63.97 kB / 416.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3585, allocations: 69.62 kB / 416.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.3592, allocations: 339.3 kB / 417.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3592, allocations: 0 / 417.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001003/0.3602, allocations: 379.8 kB / 417.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.3604, allocations: 126.9 kB / 417.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3604, allocations: 3.938 kB / 417.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3604, allocations: 4.031 kB / 417.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/0.3605, allocations: 4.125 kB / 417.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3605, allocations: 4 kB / 417.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3608, allocations: 19.89 kB / 417.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3609, allocations: 36 kB / 417.7 MB, free: 8.695 MB / 334.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.0005816/0.3615, allocations: 366.2 kB / 418 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.3616, allocations: 39.56 kB / 418.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.3618, allocations: 67.14 kB / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3618, allocations: 7.984 kB / 418.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3619, allocations: 0 / 418.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3619, allocations: 0 / 418.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3637, allocations: 0.8017 MB / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3637, allocations: 0 / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.3637, allocations: 0 / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3637, allocations: 0 / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.3638, allocations: 12 kB / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3638, allocations: 0 / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3638, allocations: 7.938 kB / 419 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.365, allocations: 0.5251 MB / 419.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.3656, allocations: 248.3 kB / 419.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.3657, allocations: 12 kB / 419.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.3659, allocations: 11.98 kB / 419.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3661, allocations: 31.91 kB / 419.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/0.3662, allocations: 39.94 kB / 419.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008518/0.3671, allocations: 386.9 kB / 420.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3671, allocations: 4 kB / 420.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.3677, allocations: 43.98 kB / 420.3 MB, free: 5.941 MB / 334.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.0002472/0.368, allocations: 115 kB / 420.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000958/0.3689, allocations: 445.6 kB / 420.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.369, allocations: 3.938 kB / 420.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.3696, allocations: 377.6 kB / 421.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3706, allocations: 122.8 kB / 421.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3726, allocations: 0.6499 MB / 422 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/0.3734, allocations: 0.7983 MB / 422.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.3736, allocations: 12.66 kB / 422.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3736, allocations: 11.44 kB / 422.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.667e-06/0.3736, allocations: 0 / 422.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Templates: time 0.01471/0.3883, allocations: 4.381 MB / 427.2 MB, free: 14.91 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches