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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.1 MB / 223.8 MB, free: 8.457 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.000916/0.000916, allocations: 103.9 kB / 271.2 MB, free: 8.418 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008189/0.000819, allocations: 35.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1915, allocations: 46.63 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002598/0.1942, allocations: 1.567 MB / 375.4 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1958, allocations: 0.9123 MB / 376.3 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.1959, allocations: 5.188 kB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.692e-05/0.196, allocations: 8.859 kB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.1961, allocations: 11.16 kB / 376.3 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1964, allocations: 40.7 kB / 376.4 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1965, allocations: 116.2 kB / 376.5 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.1966, allocations: 21.78 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.197, allocations: 378.4 kB / 376.9 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.1971, allocations: 67.33 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1972, allocations: 3.406 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.1972, allocations: 9.031 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/0.1973, allocations: 66.47 kB / 377 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.1974, allocations: 107.4 kB / 377.1 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1977, allocations: 347 kB / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1977, allocations: 0 / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1977, allocations: 1 kB / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1977, allocations: 0 / 377.5 MB, free: 43.21 MB / 298.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.0006194/0.1983, allocations: 0.7282 MB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1984, allocations: 9.094 kB / 378.2 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.1984, allocations: 34.06 kB / 378.2 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1987, allocations: 277.7 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1987, allocations: 5.094 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1987, allocations: 8.219 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.199, allocations: 126.7 kB / 378.6 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.199, allocations: 0 / 378.6 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.199, allocations: 7.781 kB / 378.6 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.199, allocations: 1.062 kB / 378.6 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1992, allocations: 60.23 kB / 378.7 MB, free: 42.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.1997, allocations: 455.9 kB / 379.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1999, allocations: 98.56 kB / 379.2 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.2, allocations: 88.06 kB / 379.3 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2, allocations: 5.188 kB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.2003, allocations: 198.7 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2003, allocations: 0 / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006522/0.2009, allocations: 467.7 kB / 380 MB, free: 41.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.201, allocations: 169.6 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2015, allocations: 0.5119 MB / 380.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2016, allocations: 30.16 kB / 380.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2016, allocations: 113.6 kB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2016, allocations: 30.41 kB / 380.8 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/0.2017, allocations: 80.3 kB / 380.9 MB, free: 40.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.2018, allocations: 325.6 kB / 381.2 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2019, allocations: 58 kB / 381.3 MB, free: 40.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.202, allocations: 71.56 kB / 381.4 MB, free: 39.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.2022, allocations: 346.6 kB / 381.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2023, allocations: 1.375 kB / 381.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004214/0.2027, allocations: 373.5 kB / 382.1 MB, free: 39.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.2027, allocations: 121.8 kB / 382.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2028, allocations: 0.9688 kB / 382.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2028, allocations: 1.062 kB / 382.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.729e-05/0.2028, allocations: 1.156 kB / 382.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2028, allocations: 5.125 kB / 382.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2029, allocations: 20.73 kB / 382.2 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.203, allocations: 41.62 kB / 382.3 MB, free: 39.23 MB / 298.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,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.0002326/0.2032, allocations: 365.6 kB / 382.6 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.2033, allocations: 39.31 kB / 382.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.2034, allocations: 64.7 kB / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2034, allocations: 0 / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2034, allocations: 1.094 kB / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2034, allocations: 0 / 382.7 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.2042, allocations: 0.8157 MB / 383.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2042, allocations: 4 kB / 383.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.2042, allocations: 1.5 kB / 383.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2042, allocations: 0 / 383.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.2042, allocations: 12.73 kB / 383.5 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2042, allocations: 1.469 kB / 383.5 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2042, allocations: 4.125 kB / 383.6 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008128/0.2051, allocations: 1.188 MB / 384.7 MB, free: 37.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2053, allocations: 249.1 kB / 385 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.2054, allocations: 10.12 kB / 385 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2055, allocations: 12.3 kB / 385 MB, free: 36.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.2056, allocations: 26.06 kB / 385 MB, free: 36.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.2057, allocations: 44.28 kB / 385.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003838/0.2061, allocations: 386.9 kB / 385.4 MB, free: 36.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2061, allocations: 0 / 385.4 MB, free: 36.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.2064, allocations: 42.16 kB / 385.5 MB, free: 36.66 MB / 298.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 (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.0001064/0.2065, allocations: 119.9 kB / 385.6 MB, free: 36.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.207, allocations: 440.3 kB / 386 MB, free: 36.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.207, allocations: 0 / 386 MB, free: 36.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.2072, allocations: 370.8 kB / 386.4 MB, free: 35.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.2078, allocations: 115.3 kB / 386.5 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.2087, allocations: 0.9043 MB / 387.4 MB, free: 35.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.209, allocations: 0.807 MB / 388.2 MB, free: 34.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.209, allocations: 8.656 kB / 388.2 MB, free: 34.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.2091, allocations: 11.44 kB / 388.2 MB, free: 34.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2091, allocations: 0 / 388.2 MB, free: 34.25 MB / 298.7 MB Notification: Performance of Templates: time 0.005385/0.2145, allocations: 4.234 MB / 392.5 MB, free: 30.03 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches