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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.363e-05, allocations: 5.125 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001968/0.001992, allocations: 1.547 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003405, allocations: 0.8613 MB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.003451, allocations: 3.938 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.003537, allocations: 7.922 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.003605, allocations: 15.88 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.003814, allocations: 59.86 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003962, allocations: 131.6 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.908e-05/0.004031, allocations: 19.92 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.004366, allocations: 379.3 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.004456, allocations: 63.8 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.004483, allocations: 8 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.004503, allocations: 8 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.004566, allocations: 75.66 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.004622, allocations: 47.8 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.004816, allocations: 263.1 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004818, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004819, allocations: 4 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004822, allocations: 0 / 276.8 MB, free: 13.58 MB / 266.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.0004585/0.005281, allocations: 0.6225 MB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.005311, allocations: 11.98 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.00536, allocations: 32.91 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.005517, allocations: 208.1 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.005533, allocations: 8.375 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.00555, allocations: 8.375 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.005764, allocations: 233.6 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.00577, allocations: 192 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.005783, allocations: 8.375 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005788, allocations: 3.938 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.005867, allocations: 150.8 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.006118, allocations: 216.1 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.006227, allocations: 165.4 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.006304, allocations: 155.7 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-06/0.006309, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.006479, allocations: 301.4 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.81e-07/0.00648, allocations: 7.938 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003043/0.006784, allocations: 0.5137 MB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.006842, allocations: 170.2 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.007102, allocations: 367.1 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.007122, allocations: 29.7 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.007155, allocations: 97.12 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.00718, allocations: 31.77 kB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.007244, allocations: 73.5 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.007319, allocations: 326.8 kB / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.007392, allocations: 146.8 kB / 280.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.007473, allocations: 172.5 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.007616, allocations: 307.4 kB / 281.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007617, allocations: 3.938 kB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001848/0.007802, allocations: 355.2 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.007855, allocations: 126.7 kB / 281.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00786, allocations: 4 kB / 281.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.00787, allocations: 0 / 281.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.007885, allocations: 0 / 281.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.007887, allocations: 4.031 kB / 281.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.007964, allocations: 19.98 kB / 281.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.007995, allocations: 35.94 kB / 281.7 MB, free: 8.148 MB / 266.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.0002147/0.008209, allocations: 345.4 kB / 282 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.008243, allocations: 35.91 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.008311, allocations: 51.09 kB / 282.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008313, allocations: 4 kB / 282.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.008314, allocations: 0 / 282.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.008316, allocations: 0 / 282.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.008683, allocations: 0.6056 MB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008683, allocations: 0 / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.008687, allocations: 0 / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.00869, allocations: 3.938 kB / 282.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.008705, allocations: 12 kB / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008706, allocations: 0 / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-07/0.008706, allocations: 0 / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.008937, allocations: 496.9 kB / 283.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.009108, allocations: 139.4 kB / 283.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.009138, allocations: 12 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.009208, allocations: 15.98 kB / 283.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.009257, allocations: 15.92 kB / 283.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.009286, allocations: 48.11 kB / 283.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.009416, allocations: 152.6 kB / 283.6 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009416, allocations: 0 / 283.6 MB, free: 6.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.009562, allocations: 47.94 kB / 283.6 MB, free: 6.023 MB / 266.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 8.627e-05/0.009648, allocations: 96.2 kB / 283.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.009936, allocations: 0.5586 MB / 284.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.009939, allocations: 64 / 284.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.01011, allocations: 416 kB / 284.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.0104, allocations: 130.1 kB / 284.8 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.01107, allocations: 0.734 MB / 285.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.01113, allocations: 95.27 kB / 285.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.483e-05/0.01115, allocations: 8.719 kB / 285.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.01136, allocations: 147.6 kB / 285.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01136, allocations: 0 / 285.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of Templates: time 0.004987/0.01635, allocations: 4.355 MB / 290.2 MB, free: 15.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.575002753175795]