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.002491/0.002498, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.99/3.99, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001751/0.001751, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001283, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3139, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005142/0.3191, allocations: 1.195 MB / 375.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.3254, allocations: 0.8575 MB / 376.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3257, allocations: 0 / 376.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3258, allocations: 7.922 kB / 376.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.3261, allocations: 11.98 kB / 376.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.3267, allocations: 43.83 kB / 376.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.3271, allocations: 63.92 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.3274, allocations: 19.98 kB / 376.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.3288, allocations: 295.4 kB / 377 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.3292, allocations: 67.83 kB / 377.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.3294, allocations: 4 kB / 377.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3295, allocations: 8 kB / 377.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.3298, allocations: 63.75 kB / 377.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.3301, allocations: 69.58 kB / 377.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3311, allocations: 279.3 kB / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3312, allocations: 0 / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.3312, allocations: 0 / 377.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3312, allocations: 0 / 377.5 MB, free: 12.45 MB / 282.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.002735/0.334, allocations: 0.6608 MB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001091/0.3342, allocations: 12.03 kB / 378.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.3345, allocations: 39.47 kB / 378.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3356, allocations: 273.2 kB / 378.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.3357, allocations: 4 kB / 378.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.3358, allocations: 8 kB / 378.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.337, allocations: 121.6 kB / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.337, allocations: 0 / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.3372, allocations: 8 kB / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3372, allocations: 0 / 378.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.3378, allocations: 55.97 kB / 378.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.3409, allocations: 468.5 kB / 379.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008825/0.3419, allocations: 90.55 kB / 379.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3419, allocations: 0 / 379.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.3432, allocations: 202.7 kB / 379.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 7.504e-06/0.3432, allocations: 4 kB / 379.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.00372/0.347, allocations: 0.6116 MB / 380 MB, free: 9.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002743/0.3473, allocations: 166.2 kB / 380.2 MB, free: 9.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.3508, allocations: 0.5168 MB / 380.7 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.351, allocations: 29.7 kB / 380.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3514, allocations: 175.4 kB / 380.9 MB, free: 8.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3516, allocations: 27.64 kB / 380.9 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.3517, allocations: 4 kB / 380.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003716/0.3521, allocations: 330.8 kB / 381.3 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.3529, allocations: 51.97 kB / 381.3 MB, free: 8.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.3536, allocations: 69.69 kB / 381.4 MB, free: 8.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.3543, allocations: 158.8 kB / 381.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.3544, allocations: 0 / 381.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.002613/0.357, allocations: 376.2 kB / 381.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.3574, allocations: 122.8 kB / 382 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3574, allocations: 0 / 382 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.3575, allocations: 4.031 kB / 382 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.3576, allocations: 0 / 382 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.3576, allocations: 4 kB / 382 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.3584, allocations: 11.98 kB / 382.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.3587, allocations: 44.05 kB / 382.1 MB, free: 7.438 MB / 282.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.001494/0.3602, allocations: 366.2 kB / 382.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.3606, allocations: 35.75 kB / 382.5 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.3612, allocations: 67.12 kB / 382.6 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3612, allocations: 8 kB / 382.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3613, allocations: 4 kB / 382.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3613, allocations: 0 / 382.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.3665, allocations: 0.8098 MB / 383.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.3666, allocations: 0 / 383.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.3666, allocations: 3.938 kB / 383.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.3667, allocations: 0 / 383.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.3668, allocations: 12 kB / 383.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.3669, allocations: 0 / 383.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.3669, allocations: 7.984 kB / 383.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.3705, allocations: 0.5252 MB / 383.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.3725, allocations: 244.4 kB / 384.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/0.3731, allocations: 8 kB / 384.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.374, allocations: 15.98 kB / 384.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.3743, allocations: 19.97 kB / 384.2 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/0.3746, allocations: 51.92 kB / 384.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002717/0.3774, allocations: 390.9 kB / 384.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.353e-06/0.3775, allocations: 0 / 384.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001785/0.3793, allocations: 43.94 kB / 384.7 MB, free: 4.676 MB / 282.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.0004809/0.3798, allocations: 119 kB / 384.8 MB, free: 4.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.3821, allocations: 433.5 kB / 385.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.3822, allocations: 0 / 385.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.3841, allocations: 377.6 kB / 385.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.3861, allocations: 106.3 kB / 385.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.3915, allocations: 0.7756 MB / 386.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.3938, allocations: 0.8064 MB / 387.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.394, allocations: 11.44 kB / 387.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.394, allocations: 3.938 kB / 387.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of Templates: time 0.6637/1.058, allocations: 2.447 MB / 389.7 MB, free: 20 MB / 282.7 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