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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 105.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009468/0.0009468, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2133, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002307/0.2156, allocations: 1.575 MB / 408.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2174, allocations: 0.9137 MB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.2174, allocations: 0 / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2176, allocations: 7.922 kB / 409.6 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.2176, allocations: 7.938 kB / 409.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.2179, allocations: 47.94 kB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.218, allocations: 111.7 kB / 409.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2181, allocations: 23.98 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.2184, allocations: 375.3 kB / 410.1 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2185, allocations: 71.67 kB / 410.2 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.2186, allocations: 4 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.2186, allocations: 8 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.2187, allocations: 63.7 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.2188, allocations: 99.23 kB / 410.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.219, allocations: 350.7 kB / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.219, allocations: 0 / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.219, allocations: 4 kB / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.219, allocations: 0 / 410.7 MB, free: 24.17 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.0006286/0.2197, allocations: 0.7242 MB / 411.4 MB, free: 23.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2197, allocations: 12.03 kB / 411.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.2198, allocations: 36.47 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2201, allocations: 282.2 kB / 411.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2201, allocations: 4.375 kB / 411.7 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2201, allocations: 8.375 kB / 411.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.2204, allocations: 121.9 kB / 411.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2204, allocations: 0 / 411.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2204, allocations: 8 kB / 411.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2205, allocations: 8 kB / 411.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.2206, allocations: 63.89 kB / 411.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.2211, allocations: 448.6 kB / 412.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2213, allocations: 102.5 kB / 412.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2214, allocations: 84.89 kB / 412.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2215, allocations: 4 kB / 412.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.2218, allocations: 199.2 kB / 412.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2218, allocations: 0 / 412.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00061/0.2224, allocations: 469.9 kB / 413.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.2225, allocations: 162.2 kB / 413.4 MB, free: 21.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.2229, allocations: 0.5207 MB / 413.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.223, allocations: 29.7 kB / 413.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.223, allocations: 97.12 kB / 414 MB, free: 20.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.223, allocations: 27.7 kB / 414.1 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.2231, allocations: 85.36 kB / 414.1 MB, free: 20.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2232, allocations: 326.8 kB / 414.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2233, allocations: 51.97 kB / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2234, allocations: 74.53 kB / 414.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.2236, allocations: 350.6 kB / 414.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2236, allocations: 0 / 414.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003837/0.224, allocations: 376.2 kB / 415.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.2241, allocations: 125.8 kB / 415.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2241, allocations: 0 / 415.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2241, allocations: 0 / 415.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.2242, allocations: 7.984 kB / 415.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2242, allocations: 4.062 kB / 415.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2243, allocations: 16.08 kB / 415.4 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.2244, allocations: 47.92 kB / 415.5 MB, free: 18.96 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.0002381/0.2246, allocations: 370.1 kB / 415.9 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.2247, allocations: 39.53 kB / 415.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.2247, allocations: 59.16 kB / 415.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2248, allocations: 0 / 415.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2248, allocations: 4 kB / 416 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2248, allocations: 0 / 416 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.2254, allocations: 0.8171 MB / 416.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2255, allocations: 0 / 416.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.2255, allocations: 0 / 416.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2255, allocations: 4 kB / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.2255, allocations: 11.98 kB / 416.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2255, allocations: 0 / 416.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2255, allocations: 4.125 kB / 416.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.2263, allocations: 1.191 MB / 418 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.2265, allocations: 248.3 kB / 418.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.2266, allocations: 12 kB / 418.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2267, allocations: 11.98 kB / 418.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.2268, allocations: 23.97 kB / 418.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.2268, allocations: 39.94 kB / 418.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.2272, allocations: 390.9 kB / 418.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2272, allocations: 0 / 418.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.2275, allocations: 44 kB / 418.7 MB, free: 15.48 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.0001097/0.2277, allocations: 119 kB / 418.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.228, allocations: 433.5 kB / 419.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2281, allocations: 0 / 419.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.2283, allocations: 377.6 kB / 419.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.2289, allocations: 113.4 kB / 419.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2301, allocations: 0.9119 MB / 420.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2304, allocations: 0.8025 MB / 421.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.2305, allocations: 12.64 kB / 421.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.2305, allocations: 11.44 kB / 421.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2305, allocations: 0 / 421.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Templates: time 0.006182/0.2367, allocations: 4.232 MB / 425.7 MB, free: 8.355 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches