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.001183/0.001183, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3743, allocations: 50.55 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004252/0.3787, allocations: 1.533 MB / 410.8 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.3815, allocations: 0.8809 MB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.3817, allocations: 4 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.3818, allocations: 3.938 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.382, allocations: 23.8 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3823, allocations: 51.88 kB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.3827, allocations: 143.8 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3828, allocations: 19.98 kB / 411.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.3835, allocations: 391.2 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3837, allocations: 67.75 kB / 412.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.3838, allocations: 12 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.3839, allocations: 12 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.384, allocations: 63.7 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3842, allocations: 115.2 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.3847, allocations: 350.8 kB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3847, allocations: 0 / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3848, allocations: 0 / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.3848, allocations: 0 / 412.9 MB, free: 13.93 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.001211/0.386, allocations: 0.7237 MB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3861, allocations: 12.03 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3862, allocations: 36.56 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.3866, allocations: 274.3 kB / 413.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3867, allocations: 4.375 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3867, allocations: 12.31 kB / 413.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.3872, allocations: 129.7 kB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3872, allocations: 3.938 kB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3873, allocations: 7.984 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3873, allocations: 4 kB / 414.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3875, allocations: 55.97 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3886, allocations: 464.4 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3889, allocations: 94.55 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3891, allocations: 76.89 kB / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3892, allocations: 0 / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.3897, allocations: 202.7 kB / 415 MB, free: 11.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 6.522e-06/0.3897, allocations: 7.984 kB / 415 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00122/0.391, allocations: 468 kB / 415.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3911, allocations: 162.2 kB / 415.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3921, allocations: 0.513 MB / 416.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3922, allocations: 33.69 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.3923, allocations: 101 kB / 416.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.3924, allocations: 35.62 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3926, allocations: 77.42 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3928, allocations: 330.8 kB / 416.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.393, allocations: 51.97 kB / 416.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3932, allocations: 81.59 kB / 416.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.3937, allocations: 339.3 kB / 417.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3937, allocations: 4 kB / 417.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008283/0.3946, allocations: 372.3 kB / 417.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3947, allocations: 126.9 kB / 417.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3947, allocations: 7.922 kB / 417.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3947, allocations: 128 / 417.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.3948, allocations: 8 kB / 417.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3948, allocations: 0 / 417.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.395, allocations: 15.91 kB / 417.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.3951, allocations: 39.98 kB / 417.7 MB, free: 8.707 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.0005544/0.3957, allocations: 370.1 kB / 418 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.3958, allocations: 35.62 kB / 418.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.396, allocations: 67.16 kB / 418.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.396, allocations: 0 / 418.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.396, allocations: 0 / 418.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.396, allocations: 0 / 418.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3976, allocations: 0.805 MB / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3976, allocations: 0 / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-06/0.3976, allocations: 0 / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3976, allocations: 0 / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.3977, allocations: 19.98 kB / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3977, allocations: 0 / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3977, allocations: 11.88 kB / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3987, allocations: 0.5212 MB / 419.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.3992, allocations: 244.4 kB / 419.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.3993, allocations: 12 kB / 419.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3996, allocations: 15.97 kB / 419.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3998, allocations: 23.92 kB / 419.8 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.3999, allocations: 43.92 kB / 419.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007759/0.4007, allocations: 390.9 kB / 420.2 MB, free: 6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4007, allocations: 0 / 420.2 MB, free: 6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.4013, allocations: 44 kB / 420.3 MB, free: 5.957 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.0002202/0.4015, allocations: 115.2 kB / 420.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.4024, allocations: 437.5 kB / 420.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4024, allocations: 3.938 kB / 420.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.403, allocations: 377.6 kB / 421.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.404, allocations: 133.5 kB / 421.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.4056, allocations: 0.646 MB / 421.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.4064, allocations: 0.806 MB / 422.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4066, allocations: 12.64 kB / 422.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4066, allocations: 11.44 kB / 422.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4066, allocations: 0 / 422.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Templates: time 0.01262/0.4193, allocations: 4.365 MB / 427.1 MB, free: 14.94 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