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.00138/0.00138, allocations: 110.5 kB / 17.73 MB, free: 5.289 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.00147/0.00147, allocations: 187 kB / 18.66 MB, free: 4.363 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.838/1.838, allocations: 205.1 MB / 224.5 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.001276/0.001276, allocations: 47.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, 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.003498/0.1632, allocations: 1.513 MB / 376.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1657, allocations: 0.8941 MB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1658, allocations: 0 / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.166, allocations: 11.92 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1661, allocations: 19.84 kB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1665, allocations: 51.89 kB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1669, allocations: 143.7 kB / 377.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.167, allocations: 27.97 kB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.1676, allocations: 383.3 kB / 378.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1678, allocations: 63.7 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.1678, allocations: 12 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.1679, allocations: 8 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.866e-05/0.168, allocations: 63.77 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1681, allocations: 123.1 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1685, allocations: 346.8 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1686, allocations: 8 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1686, allocations: 0 / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1686, allocations: 4 kB / 378.8 MB, free: 0.9062 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.0008838/0.1695, allocations: 0.7266 MB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1695, allocations: 8.031 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.1696, allocations: 36.56 kB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3136/0.4832, allocations: 265.3 kB / 379.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.4834, allocations: 9.75 kB / 379.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.4834, allocations: 8.031 kB / 379.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.4839, allocations: 125.1 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.484, allocations: 1.156 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.484, allocations: 3.938 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.484, allocations: 4.297 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.4842, allocations: 60.16 kB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.4852, allocations: 452.8 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4854, allocations: 101.4 kB / 380.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4856, allocations: 82.47 kB / 380.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.4856, allocations: 5.156 kB / 380.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/0.4862, allocations: 199.2 kB / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.486e-06/0.4862, allocations: 0 / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001097/0.4873, allocations: 473.3 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4875, allocations: 170.1 kB / 381.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.4884, allocations: 0.5126 MB / 382 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4884, allocations: 29.64 kB / 382 MB, free: 12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.4885, allocations: 97.8 kB / 382.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.4886, allocations: 30.95 kB / 382.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.4888, allocations: 79.75 kB / 382.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.489, allocations: 326 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.4891, allocations: 63.16 kB / 382.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.4893, allocations: 74.61 kB / 382.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.4898, allocations: 346 kB / 383 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.4898, allocations: 0 / 383 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000781/0.4906, allocations: 373.5 kB / 383.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.4907, allocations: 132 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4907, allocations: 1.062 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.4907, allocations: 2.125 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.4908, allocations: 1.672 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4908, allocations: 1.188 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.491, allocations: 10.61 kB / 383.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.4911, allocations: 38.34 kB / 383.6 MB, free: 10.91 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.0004656/0.4916, allocations: 366.1 kB / 383.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.4916, allocations: 47.69 kB / 384 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.4918, allocations: 69.7 kB / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4918, allocations: 1.25 kB / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4918, allocations: 0 / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4918, allocations: 0.5625 kB / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4931, allocations: 0.8085 MB / 384.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4931, allocations: 0 / 384.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-06/0.4931, allocations: 1.406 kB / 384.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4931, allocations: 3 kB / 384.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.4932, allocations: 13.23 kB / 384.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4932, allocations: 1.281 kB / 384.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4932, allocations: 0.75 kB / 384.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.4939, allocations: 0.5319 MB / 385.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.4943, allocations: 244.5 kB / 385.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.4944, allocations: 11.2 kB / 385.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4945, allocations: 10.78 kB / 385.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.4947, allocations: 23.81 kB / 385.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.4947, allocations: 50.41 kB / 385.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005603/0.4953, allocations: 387.9 kB / 386.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4953, allocations: 1.219 kB / 386.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.4957, allocations: 41.41 kB / 386.1 MB, free: 9.215 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.0002244/0.4959, allocations: 118.5 kB / 386.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.4967, allocations: 437.2 kB / 386.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4967, allocations: 3.938 kB / 386.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.4973, allocations: 377 kB / 387.1 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.4981, allocations: 122.3 kB / 387.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4997, allocations: 0.656 MB / 387.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5004, allocations: 0.8033 MB / 388.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.256e-05/0.5005, allocations: 5.953 kB / 388.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.5005, allocations: 11.91 kB / 388.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5005, allocations: 0 / 388.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of Templates: time 0.01322/0.5137, allocations: 4.385 MB / 393 MB, free: 6.863 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