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.00134/0.00134, allocations: 105.5 kB / 18.4 MB, free: 4.68 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.001336/0.001336, allocations: 187 kB / 19.33 MB, free: 3.758 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.44/1.44, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001282/0.001282, allocations: 51.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08161, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002479/0.08413, allocations: 1.516 MB / 377.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.08594, allocations: 0.8987 MB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.08601, allocations: 0 / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.08612, allocations: 7.922 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.08621, allocations: 23.78 kB / 378.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.08646, allocations: 43.89 kB / 378.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.08668, allocations: 151.7 kB / 378.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.08678, allocations: 27.97 kB / 378.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.08721, allocations: 383.3 kB / 378.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.08736, allocations: 67.7 kB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.08741, allocations: 8 kB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.43e-05/0.08745, allocations: 8 kB / 378.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.08754, allocations: 63.77 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.08766, allocations: 119.1 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.08796, allocations: 358.8 kB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.08797, allocations: 0 / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08798, allocations: 4 kB / 379.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.088, allocations: 0 / 379.5 MB, free: 0.9141 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.0007009/0.0887, allocations: 0.7188 MB / 380.2 MB, free: 124 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.08875, allocations: 8.031 kB / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.08883, allocations: 36.56 kB / 380.2 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1516/0.2404, allocations: 268.7 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.2405, allocations: 6.344 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.2406, allocations: 10.62 kB / 380.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.2409, allocations: 123.8 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2409, allocations: 1.031 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.241, allocations: 7.344 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.241, allocations: 3.406 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2411, allocations: 61.58 kB / 380.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.2417, allocations: 448.9 kB / 381.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2419, allocations: 101.2 kB / 381.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.242, allocations: 82.31 kB / 381.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2421, allocations: 6.516 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.2424, allocations: 202.4 kB / 381.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.2424, allocations: 3.344 kB / 381.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007116/0.2431, allocations: 470.4 kB / 382 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2432, allocations: 167.4 kB / 382.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.2438, allocations: 0.5158 MB / 382.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2438, allocations: 32.14 kB / 382.7 MB, free: 12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.2439, allocations: 98.23 kB / 382.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.244, allocations: 39.12 kB / 382.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2441, allocations: 79.8 kB / 382.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.2441, allocations: 322.1 kB / 383.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2443, allocations: 59.73 kB / 383.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2444, allocations: 72.61 kB / 383.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.2447, allocations: 341 kB / 383.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2447, allocations: 0 / 383.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005188/0.2453, allocations: 373.8 kB / 384 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.2453, allocations: 123.7 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2453, allocations: 4.219 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2454, allocations: 4.297 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/0.2454, allocations: 7.969 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2454, allocations: 1.812 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2455, allocations: 10.81 kB / 384.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2456, allocations: 39.56 kB / 384.2 MB, free: 10.9 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.0002581/0.2459, allocations: 364.7 kB / 384.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.2459, allocations: 44.72 kB / 384.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.246, allocations: 69.42 kB / 384.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.246, allocations: 1.344 kB / 384.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.246, allocations: 0 / 384.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.246, allocations: 4.062 kB / 384.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.2469, allocations: 0.8097 MB / 385.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2469, allocations: 0 / 385.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.2469, allocations: 2.516 kB / 385.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2469, allocations: 0 / 385.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.2469, allocations: 15.2 kB / 385.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2469, allocations: 0 / 385.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.247, allocations: 2.781 kB / 385.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.2475, allocations: 0.5303 MB / 386.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.2478, allocations: 246.8 kB / 386.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.2478, allocations: 11.81 kB / 386.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.248, allocations: 10.53 kB / 386.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.2481, allocations: 23.3 kB / 386.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.2481, allocations: 47.06 kB / 386.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.2485, allocations: 387.5 kB / 386.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2485, allocations: 0 / 386.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000338/0.2489, allocations: 41.94 kB / 386.8 MB, free: 9.199 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.0001217/0.249, allocations: 120.9 kB / 386.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.2495, allocations: 441.5 kB / 387.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2495, allocations: 1.031 kB / 387.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.2498, allocations: 377.2 kB / 387.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.2504, allocations: 119.1 kB / 387.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.2514, allocations: 0.7079 MB / 388.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2517, allocations: 0.8007 MB / 389.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.2517, allocations: 11.59 kB / 389.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2518, allocations: 0.8125 kB / 389.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of Templates: time 0.004607/0.2564, allocations: 2.534 MB / 391.9 MB, free: 6.973 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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