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.001267/0.001267, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 58.56 kB / 306.9 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09173, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002776/0.09454, allocations: 1.583 MB / 359 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.09636, allocations: 0.9122 MB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.09645, allocations: 0 / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.41e-05/0.0966, allocations: 3.984 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.09669, allocations: 19.84 kB / 359.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.09694, allocations: 39.97 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.09709, allocations: 107.8 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.0972, allocations: 35.84 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.09768, allocations: 367.3 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.09781, allocations: 71.62 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.09787, allocations: 4 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.319e-05/0.09791, allocations: 4 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.098, allocations: 63.77 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.09814, allocations: 111.2 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.09841, allocations: 295.3 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09843, allocations: 0 / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09843, allocations: 0 / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.09845, allocations: 0 / 361 MB, free: 10.89 MB / 302.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.0007697/0.09922, allocations: 0.7153 MB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.09927, allocations: 8.031 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.09935, allocations: 40.47 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.09962, allocations: 274.3 kB / 362.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.09965, allocations: 8.375 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.09969, allocations: 12.38 kB / 362.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.1, allocations: 129.9 kB / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1, allocations: 0 / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1, allocations: 4 kB / 362.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1001, allocations: 0 / 362.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1002, allocations: 59.95 kB / 362.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.1009, allocations: 460.4 kB / 362.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1011, allocations: 102.5 kB / 362.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1012, allocations: 80.89 kB / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1012, allocations: 0 / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.1016, allocations: 198.6 kB / 363.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1016, allocations: 0 / 363.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008031/0.1024, allocations: 463.9 kB / 363.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.1025, allocations: 170.2 kB / 363.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.1031, allocations: 0.5168 MB / 364.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1032, allocations: 29.7 kB / 364.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1033, allocations: 105.1 kB / 364.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1033, allocations: 31.62 kB / 364.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1034, allocations: 77.42 kB / 364.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1036, allocations: 326.8 kB / 364.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1037, allocations: 63.97 kB / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1038, allocations: 65.69 kB / 364.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1042, allocations: 351.2 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1042, allocations: 0 / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005502/0.1047, allocations: 368.2 kB / 365.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.1048, allocations: 122.8 kB / 365.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1049, allocations: 3.938 kB / 365.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1049, allocations: 8.031 kB / 365.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.326e-05/0.1049, allocations: 7.984 kB / 365.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1049, allocations: 3.938 kB / 365.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1051, allocations: 8 kB / 365.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.1051, allocations: 40.08 kB / 365.8 MB, free: 5.695 MB / 302.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.0003511/0.1055, allocations: 367.2 kB / 366.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.1056, allocations: 43.52 kB / 366.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1057, allocations: 67.14 kB / 366.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1057, allocations: 8 kB / 366.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1057, allocations: 0 / 366.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1057, allocations: 112 / 366.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.1067, allocations: 0.8132 MB / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1067, allocations: 0 / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.1067, allocations: 4.188 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.1067, allocations: 4 kB / 367.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1067, allocations: 15.98 kB / 367.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1067, allocations: 0 / 367.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1068, allocations: 3.938 kB / 367.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.1074, allocations: 0.5213 MB / 367.6 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.1077, allocations: 244.5 kB / 367.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.1077, allocations: 12 kB / 367.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1079, allocations: 8 kB / 367.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.108, allocations: 27.91 kB / 367.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.1081, allocations: 47.92 kB / 368 MB, free: 3.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004555/0.1085, allocations: 386.9 kB / 368.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1085, allocations: 4 kB / 368.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1088, allocations: 43.94 kB / 368.4 MB, free: 2.914 MB / 302.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.0001416/0.109, allocations: 118.9 kB / 368.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.1096, allocations: 433.5 kB / 368.9 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1096, allocations: 0 / 368.9 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1099, allocations: 377.5 kB / 369.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.1105, allocations: 128 kB / 369.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1117, allocations: 0.8054 MB / 370.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1121, allocations: 0.7986 MB / 371 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.1122, allocations: 11.44 kB / 371 MB, free: 112 kB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1122, allocations: 0 / 371 MB, free: 112 kB / 302.1 MB Notification: Performance of Templates: time 0.1452/0.2574, allocations: 2.497 MB / 373.5 MB, free: 20 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches